ASF GitHub Bot logged work on BEAM-9320:

                Author: ASF GitHub Bot
            Created on: 14/Feb/20 18:11
            Start Date: 14/Feb/20 18:11
    Worklog Time Spent: 10m 
      Work Description: reuvenlax commented on issue #10862: [BEAM-9320] Add 
AlwaysFetched annotation
URL: https://github.com/apache/beam/pull/10862#issuecomment-586405450
   run dataflow validatesrunner
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:

Issue Time Tracking

    Worklog Id:     (was: 387534)
    Time Spent: 0.5h  (was: 20m)

> Add an annotation to State to indicate it should always be fetched
> ------------------------------------------------------------------
>                 Key: BEAM-9320
>                 URL: https://issues.apache.org/jira/browse/BEAM-9320
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-java-core
>            Reporter: Daniel Mills
>            Assignee: Reuven Lax
>            Priority: Minor
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
> Currently, if you have several StateIds that always need to be fetched for a 
> stateful DoFn, you have to have a block of .readLater() calls at the 
> beginning of each method.  It would be nicer to have an nnotation on the 
> processElement/processTimer call params to indicate that the value should 
> always be fetched.
> Something like:
> @ProcessElement
> void process(@RequiredStateId("foo") ValueState foo, E element) \{...}

This message was sent by Atlassian Jira

Reply via email to