blob: c2564fb9cd96a6e30779a6ee9b16d4ebe75e7d0f [file] [log] [blame]
SET hive.exec.schema.evolution=true;
-- Currently, smallint to tinyint conversion is not supported because it isn't in the lossless
-- TypeIntoUtils.implicitConvertible conversions.
create table src_orc (key smallint, val string) stored as orc;
alter table src_orc replace columns (k int, val string, z smallint);
alter table src_orc replace columns (k int, val string, z tinyint);