[ https://issues.apache.org/jira/browse/FLINK-12008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16891521#comment-16891521 ]
vinoyang edited comment on FLINK-12008 at 7/24/19 1:41 AM: ----------------------------------------------------------- Agree. Your idea sounds really more concise. If you don't mind. I will start it. was (Author: yanghua): Agree. Your idea sounds really more concise. > Support read a whole directory or multiple input data files for read apis of > HadoopInputs > ----------------------------------------------------------------------------------------- > > Key: FLINK-12008 > URL: https://issues.apache.org/jira/browse/FLINK-12008 > Project: Flink > Issue Type: Improvement > Components: Connectors / Hadoop Compatibility > Reporter: vinoyang > Assignee: vinoyang > Priority: Major > > Currently, the read APIs provided by {{HadoopInputs}} only can read one path. > I think it's not strong enough. We should support read a whole directory or > multiple input files. > Hadoop provides {{org.apache.hadoop.mapred.FileInputFormat.setInputPaths()}} > to support this requirement. > Spark's {{sequenceFile}} API calls this > API([https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/SparkContext.scala#L1049].) > Flink calls {{org.apache.hadoop.mapred.FileInputFormat.addInputPath}} which > only supports one path. -- This message was sent by Atlassian JIRA (v7.6.14#76016)