You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Kenneth Knowles (JIRA)" <ji...@apache.org> on 2018/01/19 23:29:00 UTC

[jira] [Commented] (BEAM-3378) Using ValueProvider with FixedWindows and Duration

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

Kenneth Knowles commented on BEAM-3378:
---------------------------------------

It is a good request to consider. Thanks for filing it!

> Using ValueProvider<Long> with FixedWindows and Duration
> --------------------------------------------------------
>
>                 Key: BEAM-3378
>                 URL: https://issues.apache.org/jira/browse/BEAM-3378
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-java-core
>    Affects Versions: 2.2.0
>            Reporter: Shushu Inbar
>            Priority: Minor
>
> Moving toward Apache Beam 2.x, I want to use templates as much as possible, and ValueProvider accordingly.
> In my logic, I am using a FixedWindow, but the duration is flexible, so I rather get it from a ValueProvider.
> The problem is that FixedWindows.of() only get Duration, and I failed to find a simple way to grab a ValueProvider and make a duration out of it.
> According to Eugene Kirpichov "Unfortunately this question has a simple answer: this is currently not supported"



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)