You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Chamikara Jayalath (JIRA)" <ji...@apache.org> on 2016/08/15 19:17:20 UTC
[jira] [Created] (BEAM-553) Add a custom text source
Chamikara Jayalath created BEAM-553:
---------------------------------------
Summary: Add a custom text source
Key: BEAM-553
URL: https://issues.apache.org/jira/browse/BEAM-553
Project: Beam
Issue Type: New Feature
Components: sdk-py
Reporter: Chamikara Jayalath
Assignee: Chamikara Jayalath
Currently, the text source implementation available for Python SDK [1] is a Dataflow native source which only works efficiently for Dataflow runner. We should add a custom text source on top of custom file-based source framework [2] so that other runner implementations can potentially use the same text source implementation.
Custom text source implementation for Java SDK is at [3].
[1] https://github.com/apache/incubator-beam/blob/python-sdk/sdks/python/apache_beam/io/fileio.py#L70
[2] https://github.com/apache/incubator-beam/blob/python-sdk/sdks/python/apache_beam/io/filebasedsource.py
[3] https://github.com/apache/incubator-beam/blob/master/sdks/java/core/src/main/java/org/apache/beam/sdk/io/TextIO.java#L745
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)