[ https://issues.apache.org/jira/browse/SPARK-27473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16820500#comment-16820500 ]
Xiangrui Meng commented on SPARK-27473: --------------------------------------- Given SPARK-25558 is WIP, we might want to flatten the status column to support filter push down. > 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 > Assignee: Weichen Xu > Priority: Major > > 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