[
https://issues.apache.org/jira/browse/BEAM-3378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17236305#comment-17236305
]
Beam JIRA Bot commented on BEAM-3378:
-------------------------------------
This issue was marked "stale-assigned" and has not received a public comment in
7 days. It is now automatically unassigned. If you are still working on it, you
can assign it to yourself again. Please also give an update about the status of
the work.
> 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: P3
> Labels: Clarified
>
> 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
(v8.3.4#803005)