[
https://issues.apache.org/jira/browse/BEAM-2781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16148273#comment-16148273
]
ASF GitHub Bot commented on BEAM-2781:
--------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/beam/pull/3737
> 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
>
> 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)