npaincomplet commented on code in PR #5267:
URL: https://github.com/apache/calcite/pull/5267#discussion_r4030439524


##########
core/src/test/resources/sql/hep.iq:
##########
@@ -375,4 +375,18 @@ having loc is null;
 !ok
 !set hep-rules original
 
+# [CALCITE-7687] Aggregate selectivity estimation uses incorrect column 
references
+!set hep-rules "
++CoreRules.AGGREGATE_PROJECT_MERGE"
+
+explain plan including all attributes for

Review Comment:
   This test checks that `explain plan including all attributes` can be 
prepared successfully on the underlying query. That exercises aggregate 
selectivity computation and it failed before this PR's fix.
   
   I added a test immediately above this one to display the expected result of 
the underlying query (without `explain plan including all attributes`).



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to