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

Update statistics of ACID tables during writes

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Frontend
    • ghx-label-1

    Description

      When Impala INSERTs or TRUNCATEs an ACID table it simply removes the COLUMN_STATS_ACCURATE property to invalidate the statistics in order to prevent Hive using it.

      Instead of it Impala should properly update the statistics. It should be relatively simple for TRUNCATE since it erases all the data, but a bit more complicated for INSERT, e.g.:

      • Properly update number of distinct values
      • INSERT OVERWRITE partition should properly update table level number of rows.

      Attachments

        Activity

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

          People

            Unassigned Unassigned
            boroknagyz Zoltán Borók-Nagy

            Dates

              Created:
              Updated:

              Slack

                Issue deployment