Peter Rozsa has uploaded a new patch set (#4). ( 
http://gerrit.cloudera.org:8080/21964 )

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

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

This patch adds a condition that checks whether the IcebergScanNode
contains any files before using the size of the partition list. The
partition list size of Iceberg tables is always one regardless of the
scanned files. This behavior can cause NPE in runtime filter generation.
By setting the calculated 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, 17 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/64/21964/4
--
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: newpatchset
Gerrit-Change-Id: I5a0595831f3bd87074144ab7d5da27508e73ef33
Gerrit-Change-Number: 21964
Gerrit-PatchSet: 4
Gerrit-Owner: Peter Rozsa <[email protected]>
Gerrit-Reviewer: Daniel Becker <[email protected]>
Gerrit-Reviewer: Gabor Kaszab <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Peter Rozsa <[email protected]>
Gerrit-Reviewer: Riza Suminto <[email protected]>

Reply via email to