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-933) Add an input format to read primitive types directly (not through tuples)
Date Mon, 01 Sep 2014 16:05:21 GMT

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

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

Github user StephanEwen commented on the pull request:

    https://github.com/apache/incubator-flink/pull/47#issuecomment-54075156
  
    Okay, I agree. Let's not create mapper.
    
    +1   that function name should include "file" somewhere. How about `readFileOfPrimitives(String
path)`.
    
    Pleaase check the headers, they are not apache compliant.
    



> Add an input format to read primitive types directly (not through tuples)
> -------------------------------------------------------------------------
>
>                 Key: FLINK-933
>                 URL: https://issues.apache.org/jira/browse/FLINK-933
>             Project: Flink
>          Issue Type: Bug
>            Reporter: Stephan Ewen
>            Assignee: Mingliang Qi
>            Priority: Minor
>              Labels: easyfix, features, starter
>
> Right now, reading primitive types goes either through custom formats (work intensive),
or through CSV inputs. The latter return tuples.
> To read a sequence of primitives, you need to go though Tuple1, which is clumsy.
> I would suggest to add an input format to read primitive types line wise (or otherwise
delimited), and also add a method to the environment for that.



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

Mime
View raw message