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

Skip reloading file metadata for some ALTER_TABLE events

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • Impala 4.3.0
    • Impala 4.3.0
    • Catalog
    • None

    Description

      EventProcessor will ignore trivial ALTER_TABLE events that only modify tblproperties like "transient_lastDdlTime", "totalSize", "numFilesErasureCoded", and "numFiles" (IMPALA-8579). For other kinds of non-rename ALTER_TABLE events, it will trigger a full refresh on the table, which is expensive when there are tens of thousands of partitions.

      We can actually skip reloading file metadata for some ALTER_TABLE events, e.g. events that

      • changing table comment
      • adding/dropping columns
      • changing column definition (name/type/comment)
      • changing ownership
      • setting customized tblproperties

      Attachments

        Issue Links

          Activity

            People

              hemanth619 Sai Hemanth Gantasala
              stigahuang Quanlong Huang
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: