englefly opened a new pull request, #68215: URL: https://github.com/apache/doris/pull/68215
Cherry-pick of #66815 to branch-4.2 [fe](cse) Extract aggregate-argument CSE below distribute The upstream patch refactors the inline CSE logic into a `projectAggregateCse` helper (a cosmetic refactor that branch-4.2 does not have) and adds the new `PhysicalDistribute` branch; the pick keeps branch-4.2's inline structure and adds the behavioural change only. branch-4.2 has no bucketed hash aggregate, so the new suite's `set enable_bucketed_hash_agg=false` line was replaced by a comment; the remaining plan and result checks pass on this branch (VEXCHANGE + VSELECT with 4 references to the extracted `cast(a as BIGINT) + cast(b as BIGINT)` slot). Testing: nereids_rules_p0/agg_strategy/cse_agg_distribute passes on a branch-4.2 FE. -- 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]
