[
https://issues.apache.org/jira/browse/BEAM-5299?focusedWorklogId=146080&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-146080
]
ASF GitHub Bot logged work on BEAM-5299:
----------------------------------------
Author: ASF GitHub Bot
Created on: 20/Sep/18 17:41
Start Date: 20/Sep/18 17:41
Worklog Time Spent: 10m
Work Description: lukecwik commented on a change in pull request #6381:
[BEAM-5299] Define max timestamp for global window in proto
URL: https://github.com/apache/beam/pull/6381#discussion_r219253469
##########
File path: model/pipeline/src/main/proto/beam_runner_api.proto
##########
@@ -32,6 +32,20 @@ option java_outer_classname = "RunnerApi";
import "google/protobuf/any.proto";
import "google/protobuf/descriptor.proto";
+message BeamConstants {
+ enum Constants {
+ // The maximum timestamp for the global window in milliseconds since Jan
1, 1970.
+ // Triggers use maxTimestamp to set timers' timestamp. Timers fires when
+ // the watermark passes their timestamps. So, the timestamp needs to be
+ // smaller than the TIMESTAMP_MAX_MILLIS.
Review comment:
Should we also add TIMESTAMP_MAX_MILLIS as a constant here if they are
different?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 146080)
Time Spent: 2h 40m (was: 2.5h)
> 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
> Time Spent: 2h 40m
> Remaining Estimate: 0h
>
> 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)