Peter Rozsa has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/21964


Change subject: IMPALA-13467: Fix partition size calculation for empty Iceberg 
scan nodes
......................................................................

IMPALA-13467: Fix partition size calculation for empty Iceberg scan nodes

This patch adds a condition that checks whether the IcebergScanNode
contains any files before using the partition size. The partition size
of Iceberg tables is always one regardless of the scanned files. This
behavior can cause NPE in runtime filter generation, by setting the
partition size to 0, the runtime filter generation does not occur.

Change-Id: I5a0595831f3bd87074144ab7d5da27508e73ef33
---
M fe/src/main/java/org/apache/impala/planner/HdfsScanNode.java
1 file changed, 7 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/64/21964/1
--
To view, visit http://gerrit.cloudera.org:8080/21964
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I5a0595831f3bd87074144ab7d5da27508e73ef33
Gerrit-Change-Number: 21964
Gerrit-PatchSet: 1
Gerrit-Owner: Peter Rozsa <[email protected]>
Gerrit-Reviewer: Gabor Kaszab <[email protected]>
Gerrit-Reviewer: Peter Rozsa <[email protected]>

Reply via email to