shuke987 opened a new pull request, #64957: URL: https://github.com/apache/doris/pull/64957
## Summary - add statement-local `SET_VAR(agg_phase=2)` hints to the two `UNION DISTINCT` checks in `nereids_rules_p0/pkfk/eliminate_inner.groovy` - keep the existing golden shape stable by forcing the intended two-phase aggregate only for the affected statements - avoid changing suite-wide session state or unrelated checks ## Testing - [x] `git diff --check` - [x] verified `SET_VAR(agg_phase=2)` appears only on the two target `UNION DISTINCT` SQLs - [ ] local single-case regression was not run because `regression-test/conf/regression-conf-custom.groovy` is absent in this checkout -- 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]
