Daniel Becker has posted comments on this change. ( http://gerrit.cloudera.org:8080/22746 )
Change subject: IMPALA-13873: Missing equivalence conjunct in aggregation node with inline views ...................................................................... Patch Set 7: (2 comments) http://gerrit.cloudera.org:8080/#/c/22746/6//COMMIT_MSG Commit Message: http://gerrit.cloudera.org:8080/#/c/22746/6//COMMIT_MSG@62 PS6, Line 62: Existing tests cover the case when conjuncts can be safely removed > nit: Can be shorter Done http://gerrit.cloudera.org:8080/#/c/22746/6/testdata/workloads/functional-planner/queries/PlannerTest/union.test File testdata/workloads/functional-planner/queries/PlannerTest/union.test: http://gerrit.cloudera.org:8080/#/c/22746/6/testdata/workloads/functional-planner/queries/PlannerTest/union.test@4637 PS6, Line 4637: # Regression test for IMPALA-13873: the conjunct 'b = min_b' in the aggregation node : # should not be discarded. : WITH u1 AS (select 10 a, 10 b), : t AS (select a, b, min(b) over (partition by a) min_b from u1 UNION select 10, 10, 20) : select t.* from t where t.b = t.min_b; > How about this? Ok, I added it here and in EE tests too. -- To view, visit http://gerrit.cloudera.org:8080/22746 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I67a59cd96d83181ce249fd6ca141906f549a09b3 Gerrit-Change-Number: 22746 Gerrit-PatchSet: 7 Gerrit-Owner: Daniel Becker <daniel.bec...@cloudera.com> Gerrit-Reviewer: Daniel Becker <daniel.bec...@cloudera.com> Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Gerrit-Reviewer: Kurt Deschler <kdesc...@cloudera.com> Gerrit-Reviewer: Noemi Pap-Takacs <npaptak...@cloudera.com> Gerrit-Reviewer: Peter Rozsa <pro...@cloudera.com> Gerrit-Reviewer: Riza Suminto <riza.sumi...@cloudera.com> Gerrit-Comment-Date: Tue, 15 Apr 2025 08:26:46 +0000 Gerrit-HasComments: Yes