Shushu Inbar created BEAM-3378:
----------------------------------
Summary: 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
Assignee: Kenneth Knowles
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
(v6.4.14#64029)