Xiangrui Meng created SPARK-27473:
-------------------------------------

             Summary: Support filter push down for status fields in binary file 
data source
                 Key: SPARK-27473
                 URL: https://issues.apache.org/jira/browse/SPARK-27473
             Project: Spark
          Issue Type: Documentation
          Components: SQL
    Affects Versions: 3.0.0
            Reporter: Xiangrui Meng


As a user, I can use 
`spark.read.format("binaryFile").load(path).filter($"status.lenght" < 
100000000L)` to load files that are less than 1e8 bytes. Spark shouldn't even 
read files that are bigger than 1e8 bytes in this case.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to