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

Improve metadata load speed for "alter table add partition".

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: Impala 2.9.0
    • Fix Version/s: Impala 2.9.0
    • Component/s: Catalog
    • Labels:

      Description

      The fix for IMPALA-4840 improved "REFRESH"s performance by doing a file by file load of block metadata instead of bulk loading it. This code path is also taken by "alter table add partition" that loads newly added partitions. Given we need to load the newly added partition md from scratch, we can leverage the listFiles() functionality here rather than following the refresh's code path that is sub-optimal for this case.

        Issue Links

          Activity

          Show
          bharathv bharath v added a comment - https://github.com/apache/incubator-impala/commit/8bd854dfa6f40bd32e8fcd6f284c15b045b4f1ee

            People

            • Assignee:
              bharathv bharath v
              Reporter:
              bharathv bharath v
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development