peter-toth opened a new pull request #24495: [SPARK-27604][SQL] Enhance constant propagation to constraint propagation URL: https://github.com/apache/spark/pull/24495 ## What changes were proposed in this pull request? This PR improves constant propagation to constraint propagation and implements these kind of expression simplifications: ``` SELECT * FROM table WHERE i <= 5 AND i = 5 => SELECT * FROM table WHERE i = 5 SELECT * FROM table WHERE i < j AND ... AND i > j => SELECT * FROM table WHERE false ``` ## How was this patch tested? Existing and new UTs.
---------------------------------------------------------------- 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] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
