[
https://issues.apache.org/jira/browse/BEAM-3708?focusedWorklogId=116053&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-116053
]
ASF GitHub Bot logged work on BEAM-3708:
----------------------------------------
Author: ASF GitHub Bot
Created on: 26/Jun/18 17:30
Start Date: 26/Jun/18 17:30
Worklog Time Spent: 10m
Work Description: lukecwik commented on a change in pull request #5622:
[BEAM-3708] Adding Combine component implementations to Java SDK
URL: https://github.com/apache/beam/pull/5622#discussion_r198233212
##########
File path:
sdks/java/harness/src/test/java/org/apache/beam/fn/harness/FlattenRunnerTest.java
##########
@@ -157,16 +155,15 @@ public void
testFlattenWithDuplicateInputCollectionProducesMultipleOutputs() thr
assertThat(consumers.keySet(), containsInAnyOrder("inputATarget",
"mainOutputTarget"));
assertThat(consumers.get("inputATarget"), hasSize(2));
- Iterator<FnDataReceiver<WindowedValue<?>>> targets =
consumers.get("inputATarget").iterator();
- FnDataReceiver<WindowedValue<?>> first = targets.next();
- FnDataReceiver<WindowedValue<?>> second = targets.next();
+ FnDataReceiver<WindowedValue<?>> input =
+ MultiplexingFnDataReceiver.forConsumers(consumers.get("inputATarget"));
// Both of these are the flatten consumer
- assertThat(first, equalTo(second));
+ //assertThat(first, equalTo(second));
Review comment:
minor note: I think you meant to delete these 3 commented lines.
----------------------------------------------------------------
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: 116053)
Time Spent: 2.5h (was: 2h 20m)
> Implement the portable lifted Combiner transforms in Java SDK
> -------------------------------------------------------------
>
> Key: BEAM-3708
> URL: https://issues.apache.org/jira/browse/BEAM-3708
> Project: Beam
> Issue Type: Sub-task
> Components: sdk-java-core, sdk-java-harness
> Reporter: Daniel Oliveira
> Assignee: Daniel Oliveira
> Priority: Major
> Labels: portability
> Time Spent: 2.5h
> Remaining Estimate: 0h
>
> Lifted combines are split into separate parts with different URNs. These
> parts need to be implemented in the Java SDK harness so that the SDK can
> actually execute them when receiving Combine transforms with the
> corresponding URNs.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)