[
https://issues.apache.org/jira/browse/BEAM-9624?focusedWorklogId=412792&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-412792
]
ASF GitHub Bot logged work on BEAM-9624:
----------------------------------------
Author: ASF GitHub Bot
Created on: 31/Mar/20 02:49
Start Date: 31/Mar/20 02:49
Worklog Time Spent: 10m
Work Description: lukecwik commented on pull request #11271: [BEAM-9624]
Adds Convert to Accumulators operator for use in combiner lifting for streaming
pipelines
URL: https://github.com/apache/beam/pull/11271#discussion_r400609084
##########
File path:
runners/core-construction-java/src/main/java/org/apache/beam/runners/core/construction/PTransformTranslation.java
##########
@@ -101,6 +101,8 @@
"beam:transform:combine_per_key_merge_accumulators:v1";
public static final String COMBINE_PER_KEY_EXTRACT_OUTPUTS_TRANSFORM_URN =
"beam:transform:combine_per_key_extract_outputs:v1";
+ public static final String
COMBINE_PER_KEY_CONVERT_TO_ACCUMULATORS_TRANSFORM_URN =
Review comment:
Please add to the checkState in the static initialization block to make sure
this value doesn't deviate from the string constant here.
Note, we do it this way so the Java compiler can treat the value as a string
constant.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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: 412792)
Time Spent: 20m (was: 10m)
> Combine operation should support only converting to accumulators
> ----------------------------------------------------------------
>
> Key: BEAM-9624
> URL: https://issues.apache.org/jira/browse/BEAM-9624
> Project: Beam
> Issue Type: Improvement
> Components: runner-core
> Reporter: Andrew Crites
> Assignee: Andrew Crites
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> For streaming pipelines, we want to be able to lift the combiner into the
> MergeBuckets without having to also do a PartialGroupByKey before the
> shuffle. We don't want to do the PGBK since it could cause non-deterministic
> results when used with some triggers.
> We propose adding a new URN for doing just the convert to accumulators step
> and adding support for it in Java/Python/Go.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)