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

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

                Author: ASF GitHub Bot
            Created on: 27/Nov/18 11:02
            Start Date: 27/Nov/18 11:02
    Worklog Time Spent: 10m 
      Work Description: robertwb commented on a change in pull request #7127: 
[BEAM-6120] Support retrieval of large gbk iterables over the state API.
URL: https://github.com/apache/beam/pull/7127#discussion_r236614345
 
 

 ##########
 File path: model/pipeline/src/main/proto/beam_runner_api.proto
 ##########
 @@ -588,6 +588,10 @@ message StandardCoders {
     // of the element
     // Components: The element coder and the window coder, in that order
     WINDOWED_VALUE = 8 [(beam_urn) = "beam:coder:windowed_value:v1"];
+
+    // Encodes an iterable of elements, some of which may be stored in state.
+    // Components: Coder for a single element.
+    STATE_BACKED_ITERABLE = 9 [(beam_urn) = 
"beam:coder:state_backed_iterable:v1"];
 
 Review comment:
   While such a coder may be useful, I don't think that's what we want in this 
particular case as we want to explicitly let the iterable be lazily read (and 
written, if it's indeed written rather than just a pointer, say to some shuffle 
position, stored). The standard iterable coder (as with all other coders) must 
consume its input to advance the stream to the end of its encoded bytes, which 
makes it impossible to achieve this kind of composition. 

----------------------------------------------------------------
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: 169727)
    Time Spent: 50m  (was: 40m)

> Support retrieval of large gbk iterables over the state API.
> ------------------------------------------------------------
>
>                 Key: BEAM-6120
>                 URL: https://issues.apache.org/jira/browse/BEAM-6120
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-py-harness
>            Reporter: Robert Bradshaw
>            Assignee: Robert Bradshaw
>            Priority: Major
>          Time Spent: 50m
>  Remaining Estimate: 0h
>




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

Reply via email to