flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-2918) Add a method to be able to read SequenceFileInputFormat
Date Fri, 30 Oct 2015 22:07:27 GMT

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

ASF GitHub Bot commented on FLINK-2918:
---------------------------------------

Github user fhueske commented on a diff in the pull request:

    https://github.com/apache/flink/pull/1299#discussion_r43557662
  
    --- Diff: flink-java/src/main/java/org/apache/flink/api/java/ExecutionEnvironment.java
---
    @@ -580,6 +580,14 @@ public CsvReader readCsvFile(String filePath) {
     	}
     
     	/**
    +	 * Creates a {@link DataSet} from {@link org.apache.hadoop.mapred.SequenceFileInputFormat}
    +	 * A {@link org.apache.hadoop.mapred.JobConf} with the given inputPath is created.
    + 	 */
    +	public <K,V> DataSource<Tuple2<K, V>> readAsSequenceFile(Class<K>
key, Class<V> value, String inputPath) throws IOException {
    --- End diff --
    
    Can we rename the method to `readSequenceFile()` to have it consistent with the other
methods (`readCsvFile`, `readHadoopFile`, ...)


> Add a method to be able to read SequenceFileInputFormat
> -------------------------------------------------------
>
>                 Key: FLINK-2918
>                 URL: https://issues.apache.org/jira/browse/FLINK-2918
>             Project: Flink
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.9.1
>            Reporter: Suneel Marthi
>            Assignee: Suneel Marthi
>            Priority: Minor
>             Fix For: 0.10
>
>
> This  is to add a method to ExecutionEnvironment.{java,scala} to be able to provide syntactic
sugar to read a SequenceFileInputFormat. 



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

Mime
View raw message