You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2014/10/18 00:35:33 UTC
[jira] [Commented] (FLINK-933) Add an input format to read
primitive types directly (not through tuples)
[ https://issues.apache.org/jira/browse/FLINK-933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14175657#comment-14175657 ]
ASF GitHub Bot commented on FLINK-933:
--------------------------------------
Github user StephanEwen commented on the pull request:
https://github.com/apache/incubator-flink/pull/47#issuecomment-59585244
Looks good. I think the input format can be merged. For the Data set methods, we should have a few comments (they are core api, so must be kept stable once added.)
From my side: How hard would it be to allow for strings as delimiters, rather than just single characters?
Also: I think the tests are failing, because they detect the Java and Scala API being out of sync.
> 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: Improvement
> 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)