[ https://issues.apache.org/jira/browse/BEAM-4547?focusedWorklogId=118419&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-118419 ]
ASF GitHub Bot logged work on BEAM-4547: ---------------------------------------- Author: ASF GitHub Bot Created on: 02/Jul/18 21:37 Start Date: 02/Jul/18 21:37 Worklog Time Spent: 10m Work Description: kennknowles closed pull request #5864: [BEAM-4547] Instantiate $SUM0 as a SUM operator URL: https://github.com/apache/beam/pull/5864 This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/sdks/java/extensions/sql/src/main/java/org/apache/beam/sdk/extensions/sql/impl/transform/BeamAggregationTransforms.java b/sdks/java/extensions/sql/src/main/java/org/apache/beam/sdk/extensions/sql/impl/transform/BeamAggregationTransforms.java index 532da615449..2d257ecb03b 100644 --- a/sdks/java/extensions/sql/src/main/java/org/apache/beam/sdk/extensions/sql/impl/transform/BeamAggregationTransforms.java +++ b/sdks/java/extensions/sql/src/main/java/org/apache/beam/sdk/extensions/sql/impl/transform/BeamAggregationTransforms.java @@ -185,6 +185,7 @@ public AggregationAdaptor( aggregators.add(BeamBuiltinAggregations.createMin(call.type.getSqlTypeName())); break; case "SUM": + case "$SUM0": aggregators.add(BeamBuiltinAggregations.createSum(call.type.getSqlTypeName())); break; case "AVG": ---------------------------------------------------------------- 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: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 118419) Time Spent: 1h (was: 50m) > implement sum0 aggregation function > ----------------------------------- > > Key: BEAM-4547 > URL: https://issues.apache.org/jira/browse/BEAM-4547 > Project: Beam > Issue Type: Sub-task > Components: dsl-sql > Reporter: Kai Jiang > Assignee: Kenneth Knowles > Priority: Major > Time Spent: 1h > Remaining Estimate: 0h > -- This message was sent by Atlassian JIRA (v7.6.3#76005)