Eugene Koifman created HIVE-21106:
-------------------------------------
Summary: Potential NEP in
VectorizedOrcAcidRowBatchReader.ColumnizedDeleteEventRegistry
Key: HIVE-21106
URL: https://issues.apache.org/jira/browse/HIVE-21106
Project: Hive
Issue Type: Bug
Components: Transactions
Affects Versions: 3.0.0
Reporter: Eugene Koifman
{{VectorizedOrcAcidRowBatchReader.ColumnizedDeleteEventRegistry()}}
{noformat}
AcidStats acidStats = OrcAcidUtils.parseAcidStats(deleteDeltaReader);
if (acidStats.deletes == 0) {
continue; // just a safe check to ensure that we are not reading empty delete
files.
}
{noformat}
If the {{delete_delta../bucket_x}} is empty, it may not have a
{{hive.acid.index}} and {{OrcAcidUtils.parseAcidStats()}} will return null
which causes NPE.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)