You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Aljoscha Krettek (JIRA)" <ji...@apache.org> on 2017/01/13 10:48:26 UTC

[jira] [Closed] (FLINK-5155) Deprecate ValueStateDescriptor constructors with default value

     [ https://issues.apache.org/jira/browse/FLINK-5155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aljoscha Krettek closed FLINK-5155.
-----------------------------------
       Resolution: Fixed
         Assignee: Aljoscha Krettek
    Fix Version/s: 1.2.0

Implemented on master in:
7a2d3bea96d262de5cb963003b92833b27346af0

Implemented on release-1.2 in:
8b7331409cd1b903d2ca46b81f3265bc2973e659


> Deprecate ValueStateDescriptor constructors with default value
> --------------------------------------------------------------
>
>                 Key: FLINK-5155
>                 URL: https://issues.apache.org/jira/browse/FLINK-5155
>             Project: Flink
>          Issue Type: Improvement
>          Components: Streaming
>            Reporter: Aljoscha Krettek
>            Assignee: Aljoscha Krettek
>             Fix For: 1.2.0
>
>
> Having the default value in the descriptor is problematic with some serialisers and we don't lose a feature because users can always check for the null value and initialise with their own default value if necessary. Right now, we're always forcing people to specify a default value even though they don't need one.
> Of course, we should add constructors without a default value.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)