mgaido91 commented on issue #23802: [SPARK-26893][SQL] Allow partition pruning 
with subquery filters on file source
URL: https://github.com/apache/spark/pull/23802#issuecomment-464729445
 
 
   > if subquery filter can be a partition filter, why can't it be a data 
filter?
   
   the point is: when it is a partition filter it is present only once in the 
plan, while if it is a dataFilter it is present both in the FileScanExec and in 
the Filter (which cannot be removed in this case because we cannot enforce that 
the data source performs properly the filtering according to the dataFilters).

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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