Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-3231

renaming table discards column statistics

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • impala 2.3
    • None
    • Catalog
    • 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

          Activity

            People

              Unassigned Unassigned
              tagar_impala_e3b3 Ruslan Dautkhanov
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: