You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiangrui Meng (JIRA)" <ji...@apache.org> on 2019/04/16 05:20:00 UTC

[jira] [Comment Edited] (SPARK-25348) Data source for binary files

    [ https://issues.apache.org/jira/browse/SPARK-25348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16818640#comment-16818640 ] 

Xiangrui Meng edited comment on SPARK-25348 at 4/16/19 5:19 AM:
----------------------------------------------------------------

I created two follow-up tasks:
* Documentation: SPARK-27472
* Filter push down: SPARK-27473


was (Author: mengxr):
I created two follow-up tasks:
* DocumentationL SPARK-27472
* Filter push down: SPARK-27473

> Data source for binary files
> ----------------------------
>
>                 Key: SPARK-25348
>                 URL: https://issues.apache.org/jira/browse/SPARK-25348
>             Project: Spark
>          Issue Type: Story
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Xiangrui Meng
>            Assignee: Weichen Xu
>            Priority: Major
>
> It would be useful to have a data source implementation for binary files, which can be used to build features to load images, audio, and videos.
> Microsoft has an implementation at [https://github.com/Azure/mmlspark/tree/master/src/io/binary.] It would be great if we can merge it into Spark main repo.
> cc: [~mhamilton] and [~imatiach]
> Proposed API:
> Format name: "binaryFile"
> Schema:
> * content: BinaryType
> * status (following Hadoop FIleStatus):
> ** path: StringType
> ** modificationTime: Timestamp
> ** length: LongType (size limit 2GB)
> Options:
> * pathGlobFilter: only include files with path matching the glob pattern
> Input partition size can be controlled by common SQL confs: maxPartitionBytes and openCostInBytes



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

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