AngersZhuuuu removed a comment on issue #24973: [SPARK-28169] Fix Partition 
table partition  PushDown failed by "OR" expression 
URL: https://github.com/apache/spark/pull/24973#issuecomment-506584232
 
 
   @cloud-fan  
   Since I am familiar with code about hive , I just looked about other 
strategies about  scan data. 
   How about we convert filter expression set to CNF in  PhysicalOperation. 
Then change the way get partition expressions like below, since with CNF, just 
use **subSet** to judge is not enough:
       ` val partitionKeyFilters = `
           `  ExpressionSet(normalizedFilters`
              ` .filterNot(SubqueryExpression.hasSubquery(_))`
               `.filter(_.references.subsetOf(partitionSet))`

----------------------------------------------------------------
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]

Reply via email to