You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/04/17 01:21:33 UTC

[GitHub] [spark] WeichenXu123 opened a new pull request #24387: [SPARK-27473][SQL][WIP] Support filter push down for status fields in binary file data source

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org