szehon-ho commented on PR #60147: URL: https://github.com/apache/spark/pull/60147#issuecomment-6785059247
Regarding [the scan-merging question in the latest review](https://github.com/apache/spark/pull/60147#pullrequestreview-5816757215): addressed in 7dc48f8234c. `pruneColumns` now records only conjuncts covered by the table's declaration and accepted by the existing pushdown eligibility check. Residuals over undeclared fields remain executable and no longer distinguish otherwise identical scans through `filterRemovalCandidates`. The candidates that Spark may omit remain part of canonicalization. Added a regression without `SCAN_MERGING`, with filter propagation enabled and symmetric propagation disabled. One scalar aggregate has an additional residual on an undeclared field; the test asserts that the subqueries still merge into one scan. Also rebased onto master at `2a591011496`. All 150 focused tests and SQL/Catalyst main and test Scalastyle checks pass on the rebased branch. -- 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]
