You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Boyuan Zhang (Jira)" <ji...@apache.org> on 2019/10/24 22:49:00 UTC

[jira] [Commented] (BEAM-7472) Update SplittableDoFn implementation within Python to use ProcessContinuation instead of defer_remainder/defer_status on the RestrictionTracker

    [ https://issues.apache.org/jira/browse/BEAM-7472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16959275#comment-16959275 ] 

Boyuan Zhang commented on BEAM-7472:
------------------------------------

After a discussion around this one, we decided to keep defer_remainder and defer_status.

> Update SplittableDoFn implementation within Python to use ProcessContinuation instead of defer_remainder/defer_status on the RestrictionTracker
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: BEAM-7472
>                 URL: https://issues.apache.org/jira/browse/BEAM-7472
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-py-core, sdk-py-harness
>            Reporter: Luke Cwik
>            Priority: Major
>
> The current API for a SplittableDoFn doesn't follow the API in [https://docs.google.com/document/d/1h_zprJrOilivK2xfvl4L42vaX4DMYGfH1YDmi-s_ozM/edit?usp=sharing]
> Specifically the intent was that a ProcessContinuation was to be returned as the last result for a a SplittableDoFn signalling the users intent as to whether the restriction is done or whether it should be resumed after a certain amount of time.
>  
> This requires updating the Python SDK implementation to not rely on RestrictionTracker.defer_remainder and RestrictionTracker.defer_status



--
This message was sent by Atlassian Jira
(v8.3.4#803005)