You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Maximilian Michels (JIRA)" <ji...@apache.org> on 2018/09/10 17:55:00 UTC
[jira] [Commented] (BEAM-5299) Define max global window as a shared
value in protos like URN enums.
[ https://issues.apache.org/jira/browse/BEAM-5299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16609599#comment-16609599 ]
Maximilian Michels commented on BEAM-5299:
------------------------------------------
DoFns are free to return WindowedValues with GlobalWindow, but they don't have a notion of the Proto (e.g. at least in the JAVA SDK when you look at {{WindowedValue}}). So instead of using a concrete timestamp for the global window, we would have to use a placeholder which gets translated into a lookup at runtime.
I'm leaning more towards documenting and fixing the global max timestamp value in all SDKs which doesn't seem that hard.
Any thoughts on this [~lcwik]?
> Define max global window as a shared value in protos like URN enums.
> --------------------------------------------------------------------
>
> Key: BEAM-5299
> URL: https://issues.apache.org/jira/browse/BEAM-5299
> Project: Beam
> Issue Type: Improvement
> Components: beam-model, sdk-go, sdk-java-core, sdk-py-core
> Reporter: Luke Cwik
> Assignee: Maximilian Michels
> Priority: Minor
> Labels: portability
>
> Instead of having each language define a max timestamp themselves, define the max timestamps within proto to be shared across different languages.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)