You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/07/24 13:07:00 UTC

[jira] [Commented] (FLINK-7255) ListStateDescriptor example uses wrong constructor

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

ASF GitHub Bot commented on FLINK-7255:
---------------------------------------

GitHub user zentol opened a pull request:

    https://github.com/apache/flink/pull/4389

    [FLINK-7255] [docs] Remove default value from ListStateDescriptor con…

    This PR corrects the docs regarding the ListStateDescriptor; it no longer passes a default value to the constructor.
    
    This applies to 1.3 and master.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/zentol/flink 7255

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/4389.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #4389
    
----
commit ec4dd10fb2decb86345c4d646cb9c6eeb222cb57
Author: zentol <ch...@apache.org>
Date:   2017-07-24T13:04:49Z

    [FLINK-7255] [docs] Remove default value from ListStateDescriptor constructor

----


> ListStateDescriptor example uses wrong constructor
> --------------------------------------------------
>
>                 Key: FLINK-7255
>                 URL: https://issues.apache.org/jira/browse/FLINK-7255
>             Project: Flink
>          Issue Type: Bug
>          Components: Documentation, State Backends, Checkpointing
>    Affects Versions: 1.3.1, 1.4.0
>            Reporter: Chesnay Schepler
>            Assignee: Chesnay Schepler
>             Fix For: 1.4.0, 1.3.2
>
>
> The {{Working with state}} docs contain an example for using a ListStateDescriptor.
> In the example however a default value is passed to the constructor, which however is only possible for ValueStateDescriptors.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)