Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-21779

ACID: Delete deltas should not project the row struct

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.0.0, 3.1.1
    • Fix Version/s: None
    • Component/s: Transactions
    • Labels:
      None

      Description

              if (useDecimal64ColumnVector) {
                this.batch = deleteDeltaReader.getSchema().createRowBatchV2();
              } else {
                this.batch = deleteDeltaReader.getSchema().createRowBatch();
              }
      

      Is creating a fully wide row-batch, despite the fact that all row columns have to be NULL in a delete delta.

      createRowBatch() should follow includes and avoid over-allocating column vrbs.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              gopalv Gopal Vijayaraghavan
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: