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

Inserts to ACID tables should always increase writeId

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: Impala 3.3.0
    • Fix Version/s: None
    • Component/s: Frontend
    • Labels:
    • Epic Color:
      ghx-label-12

      Description

      We kind of assumed that the table's writeId is increased during allocateWriteId or commit, so we don't have to set it with a separate API call during INSERT. https://gerrit.cloudera.org/#/c/14037/ sets it in some specific cases (if STATS_ACCURATE is set, because in this case we call alter_table/partitions to remove), but it is generally not touched.

      I am not sure that it is Impala's duty to set it, it would be probably better if HMS would do it by itself.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              csringhofer Csaba Ringhofer
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: