huaxingao commented on pull request #35669:
URL: https://github.com/apache/spark/pull/35669#issuecomment-1061487926


   @stczwd 
   What is the reason for your optimization not working with V1? is it because 
only data filters are pushed to the `FileScan`?
   ```
   == Physical Plan ==
   *(1) Filter (((id#9L > 0) AND (p#10 = 0)) OR ((id#9L = 2) AND (p#10 = 1)))
   +- *(1) ColumnarToRow
      +- FileScan parquet [id#9L,p#10] Batched: true, DataFilters: [((id#9L > 
0) OR (id#9L = 2))], Format: Parquet, Location: InMemoryFileIndex(1 
paths)[file:/private/var/folders/pt/_5f4sxy56x70dv9zpz032f0m0000gn/T/spark-7d...,
 PartitionFilters: [((p#10 = 0) OR (p#10 = 1))], PushedFilters: 
[Or(GreaterThan(id,0),EqualTo(id,2))], ReadSchema: struct<id:bigint>
   ```


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to