ji chen has posted comments on this change. ( https://gerrit.cloudera.org/23793 )
Change subject: IMPALA-14092: Part3: Enable predicate pushdown for Paimon tables. ...................................................................... Patch Set 13: (7 comments) https://gerrit.cloudera.org/#/c/23793/12//COMMIT_MSG Commit Message: https://gerrit.cloudera.org/#/c/23793/12//COMMIT_MSG@16 PS12, Line 16: > Partition predicates are removed from the conjuncts, so they are not pushed Done https://gerrit.cloudera.org/#/c/23793/12/fe/src/main/java/org/apache/impala/planner/PaimonScanNode.java File fe/src/main/java/org/apache/impala/planner/PaimonScanNode.java: https://gerrit.cloudera.org/#/c/23793/12/fe/src/main/java/org/apache/impala/planner/PaimonScanNode.java@136 PS12, Line 136: if (!extractedPredicates_.getSelectivityConjuncts().isEmpty()) { > Nit: when pushdown doesn't apply (non-FileStoreTable) this list is empty, s Done https://gerrit.cloudera.org/#/c/23793/12/fe/src/main/java/org/apache/impala/planner/PaimonScanNode.java@230 PS12, Line 230: > Nit: the filters are serialized into every split, but the reader only uses Done https://gerrit.cloudera.org/#/c/23793/12/fe/src/main/java/org/apache/impala/planner/paimon/ImpalaExprConverter.java File fe/src/main/java/org/apache/impala/planner/paimon/ImpalaExprConverter.java: https://gerrit.cloudera.org/#/c/23793/12/fe/src/main/java/org/apache/impala/planner/paimon/ImpalaExprConverter.java@610 PS12, Line 610: String.format("Unsupported flipped operator: %s", op)); > nit: java.sql.Date uses the Julian calendar before 1582-10-15: DATE '1582-1 Done, also create related tests for this case https://gerrit.cloudera.org/#/c/23793/12/fe/src/main/java/org/apache/impala/planner/paimon/ImpalaExprConverter.java@640 PS12, Line 640: sb.append(c); > Paimon compares with Float.compare(): -0.0 = 0 is false (loses rows) and Na DONE, align the solution with https://gerrit.cloudera.org/#/c/25192/ https://gerrit.cloudera.org/#/c/23793/12/fe/src/main/java/org/apache/impala/planner/paimon/ImpalaExprConverter.java@695 PS12, Line 695: // A wildcard run at both ends, or a gap that is not all '%', is not equivalent. > Paimon converts the java.sql.Timestamp back to a wall clock in the JVM zone DONE https://gerrit.cloudera.org/#/c/23793/12/fe/src/main/java/org/apache/impala/planner/paimon/ImpalaExprConverter.java@707 PS12, Line 707: case LIKE: { > Sub-micro digits are truncated: ts < '2024-01-01 00:00:00.0000005' is pushe DONE, will check the remainning nanos is zero, non-zero will stop pushing the literal. -- To view, visit https://gerrit.cloudera.org/23793 To unsubscribe, visit https://gerrit.cloudera.org/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Iee07fa35de8381121a20b2976d6424626d705483 Gerrit-Change-Number: 23793 Gerrit-PatchSet: 13 Gerrit-Owner: ji chen <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Riza Suminto <[email protected]> Gerrit-Reviewer: Steve Carlin <[email protected]> Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]> Gerrit-Reviewer: ji chen <[email protected]> Gerrit-Comment-Date: Wed, 11 Nov 2026 06:36:50 +0000 Gerrit-HasComments: Yes
