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

Maximilian Michels commented on BEAM-5299:
------------------------------------------

That is exactly the type of lookup I had in mind. I had added the timestamp to 
the enum value extension but this felt rather hacky. The {{beam_urn}} extension 
is applicable to every transform, the max timestamp value only applies to 
PAR_DO and ASSIGN_WINDOW, but ideally it should be a global constant.

I'm not sure what the best point is to encode a proto-wide constant.

> 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)

Reply via email to