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

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

                Author: ASF GitHub Bot
            Created on: 14/Feb/20 22:42
            Start Date: 14/Feb/20 22:42
    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-586506638
 
 
   Run Java_Examples_Dataflow PreCommit
 
----------------------------------------------------------------
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:
us...@infra.apache.org


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

    Worklog Id:     (was: 387732)
    Time Spent: 1h 10m  (was: 1h)

> 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: 1h 10m
>  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
(v8.3.4#803005)

Reply via email to