WeichenXu123 opened a new pull request #24387: [SPARK-27473][SQL][WIP] Support 
filter push down for status fields in binary file data source
URL: https://github.com/apache/spark/pull/24387
 
 
   ## What changes were proposed in this pull request?
   
   Support 4 kinds of filters:
   - LessThan
   - LessThanOrEqual
   - GreatThan
   - GreatThanOrEqual
   
   Support filters applied on 2 columns:
   - modificationTime
   - length
   
   Note:
   In order to support datasource filter push-down, I flatten schema to be:
   ```
   val schema = StructType(
       StructField("path", StringType, false) ::
       StructField("modificationTime", TimestampType, false) ::
       StructField("length", LongType, false) ::
       StructField("content", BinaryType, true) :: Nil)
   ```
   
   ## How was this patch tested?
   
   To be added.
   
   Please review http://spark.apache.org/contributing.html before opening a 
pull request.
   

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