beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (BEAM-2781) Should have a canonical Compression enum
Date Fri, 18 Aug 2017 23:34:00 GMT


ASF GitHub Bot commented on BEAM-2781:

GitHub user jkff opened a pull request:

    [BEAM-2781] Adds a canonical Compression enum for file-based IOs

    R: @lukecwik 

You can merge this pull request into a Git repository by running:

    $ git pull compression-type

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3737
commit 12876d43a961dd8ff9dba5f4cffcfbe643927eee
Author: Eugene Kirpichov <>
Date:   2017-08-18T23:17:20Z

    Adds a canonical Compression enum for file-based IOs


> Should have a canonical Compression enum
> ----------------------------------------
>                 Key: BEAM-2781
>                 URL:
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-core
>            Reporter: Eugene Kirpichov
>            Assignee: Eugene Kirpichov
> There are multiple equivalent enums in the Beam Java SDK representing a compresison type:
> TextIO.CompressionType
> TFRecordIO.CompressionType
> XmlIO.CompressionType
> FileBasedSink.CompressionType
> CompressedSource.CompressionMode
> This is ugly and we should unify them. That is also necessary to enable authors of new
file-based IOs to support compression without duplicating this functionality.

This message was sent by Atlassian JIRA

View raw message