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

Kenneth Knowles commented on BEAM-1335:
---------------------------------------

This issue has been migrated to https://github.com/apache/beam/issues/18174

> ValueState could use an initial/default value
> ---------------------------------------------
>
>                 Key: BEAM-1335
>                 URL: https://issues.apache.org/jira/browse/BEAM-1335
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-java-core
>            Reporter: Kenneth Knowles
>            Priority: P3
>              Labels: Clarified, starter
>
> In writing example state code with {{ValueState}} there is almost always a 
> use of {{firstNonNull(state.read(), defaultValue)}}. It would be nice to bake 
> this into the declaration.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to