You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Stephan Ewen (JIRA)" <ji...@apache.org> on 2018/03/20 20:23:00 UTC
[jira] [Created] (FLINK-9036) Add default value via suppliers
Stephan Ewen created FLINK-9036:
-----------------------------------
Summary: Add default value via suppliers
Key: FLINK-9036
URL: https://issues.apache.org/jira/browse/FLINK-9036
Project: Flink
Issue Type: Improvement
Components: State Backends, Checkpointing
Reporter: Stephan Ewen
Assignee: Stephan Ewen
Fix For: 1.6.0
Earlier versions had a default value in {{ValueState}}. We dropped that, because the value would have to be duplicated on each access, to be safe against side effects when using mutable types.
For convenience, we should re-add the feature, but using a supplier/factory function to create the default value on access.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)