[
https://issues.apache.org/jira/browse/BEAM-6231?focusedWorklogId=184161&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-184161
]
ASF GitHub Bot logged work on BEAM-6231:
----------------------------------------
Author: ASF GitHub Bot
Created on: 11/Jan/19 10:55
Start Date: 11/Jan/19 10:55
Worklog Time Spent: 10m
Work Description: robertwb commented on pull request #7356: [BEAM-6231]
Make Dataflow runner harness work with FixedWindow
URL: https://github.com/apache/beam/pull/7356#discussion_r247068889
##########
File path:
runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/graph/CreateExecutableStageNodeFunction.java
##########
@@ -167,19 +167,24 @@ public Node apply(MutableNetwork<Node, Edge> input) {
componentsBuilder.putEnvironments(envId,
Environments.JAVA_SDK_HARNESS_ENVIRONMENT);
}
- // Use default WindowingStrategy as the fake one. But it may be overrided
later if it's a FixedWindow.
+ // By default, use GlobalWindow for all languages.
+ // For java, if there is a IntervalWindowCoder, then use
FixedWindow instead.
// TODO: should get real WindowingStategy from pipeline proto.
- String fakeWindowingStrategyId = "fakeWindowingStrategy" +
idGenerator.getId();
+ String fakeGlobalWindowingStrategyId = "fakeGlobalWindowingStrategy" +
idGenerator.getId();
+ String fakeFixedWindowingStrategyId = "fakeFixedWindowingStrategy" +
idGenerator.getId();
Review comment:
You could call this intervalWindowEncodingWindowingStrategyId or similar to
clearly identify the properties you need to leverage here.
----------------------------------------------------------------
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: 184161)
Time Spent: 5h (was: 4h 50m)
> Triage test failures introduced by use_executable_stage_bundle_execution
> ------------------------------------------------------------------------
>
> Key: BEAM-6231
> URL: https://issues.apache.org/jira/browse/BEAM-6231
> Project: Beam
> Issue Type: Test
> Components: runner-dataflow
> Reporter: Boyuan Zhang
> Assignee: Boyuan Zhang
> Priority: Major
> Time Spent: 5h
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)