You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Gopal V (JIRA)" <ji...@apache.org> on 2019/05/22 16:52:00 UTC

[jira] [Created] (HIVE-21779) ACID: Delete deltas should not project the row struct

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)