Gopal V created HIVE-21779:
------------------------------

             Summary: ACID: Delete deltas should not project the row struct
                 Key: HIVE-21779
                 URL: https://issues.apache.org/jira/browse/HIVE-21779
             Project: Hive
          Issue Type: Bug
          Components: Transactions
    Affects Versions: 3.1.1, 4.0.0
            Reporter: Gopal V


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

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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to