You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/01/03 19:31:00 UTC

[jira] [Work logged] (BEAM-4030) Add CombineFn.compact, similar to Java

     [ https://issues.apache.org/jira/browse/BEAM-4030?focusedWorklogId=180841&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-180841 ]

ASF GitHub Bot logged work on BEAM-4030:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 03/Jan/19 19:30
            Start Date: 03/Jan/19 19:30
    Worklog Time Spent: 10m 
      Work Description: aaltay commented on issue #7405: [BEAM-4030] Add compact attribute to combiners
URL: https://github.com/apache/beam/pull/7405#issuecomment-451251480
 
 
   cc: @katsiapis
 
----------------------------------------------------------------
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:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 180841)
    Time Spent: 20m  (was: 10m)

> Add CombineFn.compact, similar to Java
> --------------------------------------
>
>                 Key: BEAM-4030
>                 URL: https://issues.apache.org/jira/browse/BEAM-4030
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py-core
>            Reporter: Robert Bradshaw
>            Assignee: Ahmet Altay
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Some CombineFns buffer elements in their add_inputs because a combining operation cost can be effectively amortized across many elements. However, this introduces the extra (possibly higher) cost of potentially serializing more expensive buffers through shuffle. We should add a CombineFn.compact(self, accumulator) method (defaulting to the identity) similar to what the Java SDK provides which is called when flushing an element from the PGBKCV table. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)