Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-11788

Column stats should be preserved after db/table/partition rename

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • Metastore, Statistics
    • None

    Description

      Currently we simply delete the column stats after renaming a database, table, or partition since there was not an easy way in HMS to update the DB_NAME, TABLE_NAME and PARTITION_NAME in TAB_COL_STATS and PART_COL_STATS. With the removal of these redundant columns in these tables (HIVE-11786), we will still keep column stats in the operation which is not to change a column name or type.

      Attachments

        Issue Links

          Activity

            People

              ctang Chaoyu Tang
              ctang Chaoyu Tang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: