jiaqizho commented on code in PR #1167:
URL: https://github.com/apache/cloudberry/pull/1167#discussion_r2157017697


##########
src/backend/commands/explain.c:
##########
@@ -2737,6 +2738,7 @@ ExplainNode(PlanState *planstate, List *ancestors,
                case T_Agg:
                        show_agg_keys(castNode(AggState, planstate), ancestors, 
es);
                        show_upper_qual(plan->qual, "Filter", planstate, 
ancestors, es);
+                       show_aggref_info(plan->targetlist, 
"AggRefs(TargetList)", es);

Review Comment:
   nope, i think that `qual` alway be empty, because `having` always been 
targetlist. I have not meet the `AggRef` in qual, if current plan created by 
ORCA. 



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to