You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/05/10 23:39:47 UTC

[GitHub] [spark] Achuth17 opened a new pull request #24583: [SPARK-27679][SQL] Improve LIKE optimization

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org