Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-19010 Improve column stats update
  3. HIVE-18887

Improve preserving column stats for alter table commands

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.0
    • None
    • Metastore
    • None

    Description

      We are trying to preserve column stats for certain alter table commands, while seems that current generic approach which compare the old columns against the new columns and update for all the columns may not be efficient . e.g., if we just rename the table, we should be able to update the name itself. COL_STATS table somehow contains DB_Name and Table_Name. If those tables don't have these columns, certain commands don't even need to update these tables. 

      Attachments

        Activity

          People

            aihuaxu Aihua Xu
            aihuaxu Aihua Xu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: