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/18 23:21:00 UTC
[jira] [Created] (BEAM-2781) Should have a canonical Compression
enum
Eugene Kirpichov created BEAM-2781:
--------------------------------------
Summary: 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)