beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chamikara Jayalath (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (BEAM-2643) Add TextIO and AvroIO read transform that can read a PCollection of files
Date Sat, 29 Jul 2017 00:39:00 GMT

     [ https://issues.apache.org/jira/browse/BEAM-2643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chamikara Jayalath updated BEAM-2643:
-------------------------------------
    Summary: Add TextIO and AvroIO read transform that can read a PCollection of files  (was:
Add TextIO.read_all() to Python SDK)

> Add TextIO and AvroIO read transform that can read a PCollection of files
> -------------------------------------------------------------------------
>
>                 Key: BEAM-2643
>                 URL: https://issues.apache.org/jira/browse/BEAM-2643
>             Project: Beam
>          Issue Type: New Feature
>          Components: sdk-py
>            Reporter: Chamikara Jayalath
>            Assignee: Chamikara Jayalath
>
> Java SDK now has TextIO.read_all() API that allows reading a massive number of files
by moving from using the BoundedSource API (which may perform expensive source operations
on the control plane) to using ParDo operations.
> https://github.com/apache/beam/blob/master/sdks/java/core/src/main/java/org/apache/beam/sdk/io/TextIO.java#L170
> This API should be added for Python SDK as well.
> This form of reading files does not support dynamic work rebalancing for now. But this
should not matter much when reading a massive number of relatively small files. In the future
this API can support dynamic work rebalancing through Splittable DoFn.
> cc: [~jkff]



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message