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

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

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • Impala 2.9.0
    • Impala 2.9.0
    • Catalog

    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.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            bharathv Bharath Vissapragada
            bharathv Bharath Vissapragada
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment