Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
impala 2.3
-
None
-
CDH 5.5.2
Description
Renaming table discards column statistics.
Some of the tables we have collecting stats takes an hour, so it would be great to preserve stats if we have to rename a table.
Test case:
create table test_col_stats_a
as
select 'aa' union all select 'bb' ;show column stats test_col_stats_a;
compute stats test_col_stats_a;
show column stats test_col_stats_a;
alter table test_col_stats_a rename to test_col_stats_b;
show column stats test_col_stats_b;
Attachments
Issue Links
- duplicates
-
IMPALA-4767 Table stats are removed after any ALTER TABLE in Impala
- Resolved