You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Chamikara Jayalath (JIRA)" <ji...@apache.org> on 2017/10/24 23:34:00 UTC

[jira] [Commented] (BEAM-3095) .withCompression() hinted at in docs, but not usable

    [ https://issues.apache.org/jira/browse/BEAM-3095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16217875#comment-16217875 ] 

Chamikara Jayalath commented on BEAM-3095:
------------------------------------------

Could you clarify ? Support for writing compressed text files seems to be available through following. Is this broken somehow ?
https://github.com/apache/beam/blob/master/sdks/java/core/src/main/java/org/apache/beam/sdk/io/TextIO.java#L845

> .withCompression() hinted at in docs, but not usable
> ----------------------------------------------------
>
>                 Key: BEAM-3095
>                 URL: https://issues.apache.org/jira/browse/BEAM-3095
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-core
>            Reporter: Rafael Fernandez
>            Assignee: Kenneth Knowles
>
> There is a FileBasedSink.CompressionType enum, and a comment in TextIO.java that suggests .withCompression(...) is available. Alas, there does not seem to be a documented way to write compressed output. It's unclear whether the documentation is wrong, or the functionality is indeed missing.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)