linhongliu-db opened a new pull request #35061: URL: https://github.com/apache/spark/pull/35061
### What changes were proposed in this pull request? In PR #34642, we added a `supportsRowBased` in `SparkPlan` in order to avoid redundant `ColumnarToRow` transition in `InMemoryTableScan `. But, this optimization also applies to Union if its children both support row-based output. So, this PR adds the `supportsRowBased` implementation for `UnionExec`. ### Why are the changes needed? followup PR ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Existing tests passed. -- 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]
