You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Etienne Chauchot (JIRA)" <ji...@apache.org> on 2017/07/12 14:48:00 UTC

[jira] [Assigned] (BEAM-2606) WindowFnTestUtils should allow using the value in addition to the timestamp of the elements

     [ https://issues.apache.org/jira/browse/BEAM-2606?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Etienne Chauchot reassigned BEAM-2606:
--------------------------------------

    Assignee: Etienne Chauchot  (was: Davor Bonaci)

> WindowFnTestUtils should allow using the value in addition to the timestamp of the elements
> -------------------------------------------------------------------------------------------
>
>                 Key: BEAM-2606
>                 URL: https://issues.apache.org/jira/browse/BEAM-2606
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-java-core
>            Reporter: Etienne Chauchot
>            Assignee: Etienne Chauchot
>
> {{WindowFnTestUtils}} relies only on timeStamps for everything related to windows assignment in the test helpers. But when creating a custom {{WindowFn}} (and most likely CustomWindow as well), that {{WindowFn}} might rely on element value in addition to timestamp to decide the windows that will be assigned to the element. To be able to test this kind of custom WindowFn, we need versions of the helper methods in WindowFnTestUtils that allow passing {{TimeStampedValues}}.



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