You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Eugene Kirpichov (JIRA)" <ji...@apache.org> on 2017/08/31 04:47:00 UTC
[jira] [Closed] (BEAM-2781) Should have a canonical Compression
enum
[ https://issues.apache.org/jira/browse/BEAM-2781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eugene Kirpichov closed BEAM-2781.
----------------------------------
Resolution: Fixed
Fix Version/s: 2.2.0
> Should have a canonical Compression enum
> ----------------------------------------
>
> Key: BEAM-2781
> URL: https://issues.apache.org/jira/browse/BEAM-2781
> Project: Beam
> Issue Type: Bug
> Components: sdk-java-core
> Reporter: Eugene Kirpichov
> Assignee: Eugene Kirpichov
> Fix For: 2.2.0
>
>
> 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
(v6.4.14#64029)