AngersZhuuuu opened a new pull request #24973: [SPARK-28169] Fix PushDown failed by "OR" expression URL: https://github.com/apache/spark/pull/24973 ## What changes were proposed in this pull request? Spark can't push down filter condition of Or: Such as if I have a table default.test, his partition col is "dt", if I use query : `select * from default.test where dt=20190625 or (dt = 20190626 and id in (1,2,3) )` In this case, Spark will resolve or condition as one expression, and since this expr has reference of "id", then it can't been push down. For this PR, it will extract deep relation of OR expression and push down this condition ## How was this patch tested?
---------------------------------------------------------------- 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]
