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)