Description
A follow-up task from SPARK-25348. To save I/O cost, Spark shouldn't attempt to read the file if users didn't request the `content` column. For example:
spark.read.format("binaryFile").load(path).filter($"length" < 1000000).count()
Attachments
Issue Links
- is blocked by
-
SPARK-25348 Data source for binary files
- Resolved
- links to