beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugene Kirpichov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BEAM-3070) Add support for windowed filenames in Python SDK
Date Tue, 05 Dec 2017 17:20:00 GMT

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

Eugene Kirpichov commented on BEAM-3070:
----------------------------------------

Thanks! However, I strongly recommend to wait until https://github.com/apache/beam/pull/3817
lands, and recommend to mimic the (simpler and more general) design of that instead.

> Add support for windowed filenames in Python SDK
> ------------------------------------------------
>
>                 Key: BEAM-3070
>                 URL: https://issues.apache.org/jira/browse/BEAM-3070
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-py-core
>            Reporter: Vilhelm von Ehrenheim
>            Assignee: Vilhelm von Ehrenheim
>
> The Python SDK's FilebasedSink does not support windowed filenames. Currently the only
filename template available is based on shards.
> The Java SDK has this feature in the `FilenamePolicy.windowedFilename()`. The python
SDk only has a somewhat more simple implementation using a text template and `FileBasedSink._template_to_format()`
which does not support windows.



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

Mime
View raw message