Steve Carlin has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/25061 )
Change subject: IMPALA-15268: Fix Calcite join estimates ...................................................................... IMPALA-15268: Fix Calcite join estimates Skip equalities with constants, multiple column references or columns from the same join input. Preserve usable equalities in mixed conditions. Fixes the IMPALA-15268 reproducer and related estimator failures. Testing: TestJoinRelationInfo: 7 tests passed with the fix; 3 passed and 4 failed without it. Java builds passed in both cases. Change-Id: If73e032867496568646ae6730e5bf78ffb15e9f9 Assisted-by: GPT-6 (Codex) Reviewed-on: http://gerrit.cloudera.org:8080/25061 Reviewed-by: Aman Sinha <[email protected]> Tested-by: Impala Public Jenkins <[email protected]> --- M java/calcite-planner/src/main/java/org/apache/impala/calcite/schema/JoinRelationInfo.java A java/calcite-planner/src/test/java/org/apache/impala/calcite/schema/TestJoinRelationInfo.java 2 files changed, 164 insertions(+), 4 deletions(-) Approvals: Aman Sinha: Looks good to me, approved Impala Public Jenkins: Verified -- To view, visit http://gerrit.cloudera.org:8080/25061 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: If73e032867496568646ae6730e5bf78ffb15e9f9 Gerrit-Change-Number: 25061 Gerrit-PatchSet: 3 Gerrit-Owner: Aleksandr Efimov <[email protected]> Gerrit-Reviewer: Aleksandr Efimov <[email protected]> Gerrit-Reviewer: Aman Sinha <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Michael Smith <[email protected]> Gerrit-Reviewer: Quanlong Huang <[email protected]> Gerrit-Reviewer: Steve Carlin <[email protected]>
