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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
Chesnay Schepler created FLINK-7255:
---------------------------------------

             Summary: 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)