jchen5 opened a new pull request, #46902: URL: https://github.com/apache/spark/pull/46902
### What changes were proposed in this pull request? Following https://github.com/apache/spark/pull/46839, we can enable scalar subqueries that have `group by a` if there's a predicate `a = 1`, because these predicates guarantee the group-by produces at most one row. ### Why are the changes needed? Support valid subquery shapes. ### Does this PR introduce _any_ user-facing change? Yes, support subquery shapes. ### How was this patch tested? Unit tests ### Was this patch authored or co-authored using generative AI tooling? No -- 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]
