blob: de7c40c2d10ecef62f3603b5d21557a9e8edd3b1 [file] [log] [blame]
set metastore.colstats.retain.on.column.removal=false;
CREATE TABLE p1(a INT, b INTEGER) PARTITIONED BY(part INT);
insert into table p1 partition (part=1) VALUES (1, 'new');
select 'expected: column stats on a,b';
desc formatted p1 partition (part=1);
alter table p1 replace columns (a int, c string);
select 'expected: no column stats present';
desc formatted p1 partition (part=1);