Hello Daniel Becker, Gabor Kaszab, Impala Public Jenkins,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/21179
to look at the new patch set (#2).
Change subject: IMPALA-12879: Conjunct not referring to table field causes
ERROR for Iceberg table
......................................................................
IMPALA-12879: Conjunct not referring to table field causes ERROR for Iceberg
table
The following query throws an error for Iceberg tables:
select * from ice_tbl where rand() < 0.001;
It's because the predicate 'rand() < 0.001' doesn't involve any table
columns. Because of a bug in
IcebergScanPlanner.hasPartitionTransformType() the method throws an
IndexOutOfBoundsException. This patch fixes the method to handle
such predicates.
Testing:
* added e2e tests
Change-Id: Id43a6798df3f4cc3a0e00ac610e25aa3b5781342
---
M fe/src/main/java/org/apache/impala/planner/IcebergScanPlanner.java
M testdata/workloads/functional-query/queries/QueryTest/iceberg-query.test
2 files changed, 106 insertions(+), 2 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/79/21179/2
--
To view, visit http://gerrit.cloudera.org:8080/21179
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Id43a6798df3f4cc3a0e00ac610e25aa3b5781342
Gerrit-Change-Number: 21179
Gerrit-PatchSet: 2
Gerrit-Owner: Zoltan Borok-Nagy <[email protected]>
Gerrit-Reviewer: Daniel Becker <[email protected]>
Gerrit-Reviewer: Gabor Kaszab <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>