You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Gna Phetsarath (JIRA)" <ji...@apache.org> on 2016/03/22 20:53:25 UTC

[jira] [Updated] (FLINK-3655) Allow comma-separated or multiple directories to be specified for FileInputFormat

     [ https://issues.apache.org/jira/browse/FLINK-3655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gna Phetsarath updated FLINK-3655:
----------------------------------
    Description: 
Allow comma-separated or multiple directories to be specified for FileInputFormat so that a DataSource will process the directories sequentially.

   env.readFile("/data/2016/01/01/*/*,/data/2016/01/02/*/*,/data/2016/01/03/*/*")

in Scala

   env.readFile(paths: Seq[String])
or 
  env.readFile(path: String, otherPaths: String*)

Wildcard support would be a bonus.

  was:
Allow comma-separated directories to be specified for FileInputFormat so that a DataSource will process the directories sequentially.

   env.readFile("/data/2016/01/01/*/*,/data/2016/01/02/*/*,/data/2016/01/03/*/*")

in Scala

   env.readFile(paths: Seq[String])
or 
  env.readFile(path: String, otherPaths: String*)

Wildcard support would be a bonus.


> Allow comma-separated or multiple directories to be specified for FileInputFormat
> ---------------------------------------------------------------------------------
>
>                 Key: FLINK-3655
>                 URL: https://issues.apache.org/jira/browse/FLINK-3655
>             Project: Flink
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.0.0
>            Reporter: Gna Phetsarath
>            Priority: Minor
>
> Allow comma-separated or multiple directories to be specified for FileInputFormat so that a DataSource will process the directories sequentially.
>    env.readFile("/data/2016/01/01/*/*,/data/2016/01/02/*/*,/data/2016/01/03/*/*")
> in Scala
>    env.readFile(paths: Seq[String])
> or 
>   env.readFile(path: String, otherPaths: String*)
> Wildcard support would be a bonus.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)