You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Anonymous (Jira)" <ji...@apache.org> on 2023/04/13 10:56:00 UTC
[jira] [Updated] (BEAM-6952) concatenated compressed files bug with python sdk
[ https://issues.apache.org/jira/browse/BEAM-6952?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anonymous updated BEAM-6952:
----------------------------
Status: Triage Needed (was: Resolved)
> concatenated compressed files bug with python sdk
> -------------------------------------------------
>
> Key: BEAM-6952
> URL: https://issues.apache.org/jira/browse/BEAM-6952
> Project: Beam
> Issue Type: Bug
> Components: sdk-py-core
> Affects Versions: Not applicable
> Reporter: Daniel Lescohier
> Priority: P2
> Fix For: 2.14.0
>
> Time Spent: 3h 20m
> Remaining Estimate: 0h
>
> The Python apache_beam.io.filesystem module has a bug handling concatenated compressed files.
> The PR I will create has two commits:
> # a new unit test that shows the problem
> # a fix to the problem.
> The unit test is added to the apache_beam.io.filesystem_test module. It was added to this module because the test: apache_beam.io.textio_test.test_read_gzip_concat does not encounter the problem in the Beam 2.11 and earlier code base because the test data is too small: the data is smaller than read_size, so it goes through logic in the code that avoids the problem in the code. So, this test sets read_size smaller and test data bigger, in order to encounter the problem. It would be difficult to test in the textio_test module, because you'd need very large test data because default read_size is 16MiB, and the ReadFromText interface does not allow you to modify the read_size.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)