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] [Created] (BEAM-577) Update filebasedsource to support compressed files
Date Mon, 22 Aug 2016 23:14:20 GMT
Chamikara Jayalath created BEAM-577:
---------------------------------------

             Summary: Update filebasedsource to support compressed files
                 Key: BEAM-577
                 URL: https://issues.apache.org/jira/browse/BEAM-577
             Project: Beam
          Issue Type: Improvement
          Components: sdk-py
            Reporter: Chamikara Jayalath
            Assignee: Frances Perry


FileBasedSource framework [1] should be updated to properly read compressed files.

One possible way to do this might be to update FileBasedSource.open_file() [2] to return a
CompressedFile [3].

Similar to Java implementation, we may not be able to support dynamic work rebalancing for
compressed files.

[1] https://github.com/apache/incubator-beam/blob/python-sdk/sdks/python/apache_beam/io/filebasedsource.py
[2] https://github.com/apache/incubator-beam/blob/python-sdk/sdks/python/apache_beam/io/filebasedsource.py#L125
[3] https://github.com/apache/incubator-beam/blob/python-sdk/sdks/python/apache_beam/io/fileio.py#L300



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

Mime
View raw message