Achuth17 opened a new pull request #24583: [SPARK-27679][SQL] Improve LIKE optimization URL: https://github.com/apache/spark/pull/24583 ## What changes were proposed in this pull request? The following improvements are possible when simplifying `LIKE` expressions - 1. In the case where pattern is `null` replace like expression with Literal(`false`), so in cases where applicable we can replace the underlying relation with `LocalRelation <empty>`. 2. Add support for underscore case optimization similar to '%'. ## How was this patch tested? Added UTs for different cases.
---------------------------------------------------------------- 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]
