CodingCat commented on pull request #29831:
URL: https://github.com/apache/spark/pull/29831#issuecomment-700861448


   > How does this PR change the explain result?
   
   it shows in the description part where it shows the pushed down partition 
filter in scanning operation 
   
   e.g. for `"SELECT * FROM t WHERE p = '1' OR (p = '2' AND i = 1)"`
   
   
   ```
   FileScan parquet default.t[i#20,p#21] Batched: true, DataFilters: [], 
Format: Parquet, Location: 
InMemoryFileIndex[file:/Users/nanzhu/code/spark/sql/hive/target/tmp/hive_execution_test_group/war...,
 PartitionFilters: [],
   ```
   
   v.s.
   
   ```
   FileScan parquet default.t[i#20,p#21] Batched: true, DataFilters: [], 
Format: Parquet, Location: 
InMemoryFileIndex[file:/Users/nanzhu/code/spark/sql/hive/target/tmp/hive_execution_test_group/war...,
 PartitionFilters: [((p#21 = 1) OR (p#21 = 2))]
   ```


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



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

Reply via email to