wangyum opened a new pull request #31113: URL: https://github.com/apache/spark/pull/31113
### What changes were proposed in this pull request? This pr add a new config(`spark.sql.optimizer.pushdownDistinctInSetOperations`) to support push down DISTINCT in Set operations(`INTERSECT`/`EXCEPT`). ### Why are the changes needed? Improve `INTERSECT`/`EXCEPT` performance. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Unit test and benchmark test. SQL | Before this PR(Seconds) | After this PR(Seconds) -- | -- | -- q8 | 37 | 40 q14a | 600 | 84 q14b | 600 | 72 q38 | 60 | 31 q87 | 59 | 36 -- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
