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

Fine grained table refreshing at partition level events for transactional tables

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Impala 4.1.0
    • Catalog
    • None

    Description

      For ensuring the transactional tables are consistent, we currently take whole table refreshing even a change is just for a partition only. That is too expensive and possibly make event processing has a longer delay.

      To enable fine-grained table refreshing, there are three main changes in this proposal.

      1. maintain validWriteIdList in Catalogd for transactional tables. We will track write id changes by AllocWriteIdEvents, CommitTxnEvents, and AbortTxnEvents.
      2. trigger partition level refreshing for addPartitionEvents, dropPartitionEvents, and AlterPartitionEvents.
      3. Introduce a config incremental_refresh_acid, which can switch on/off the fine-grained table refreshing

      Attachments

        Issue Links

          Activity

            People

              hsnusonic Yu-Wen Lai
              hsnusonic Yu-Wen Lai
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: