[jira] [Created] (FLINK-4307) Broken user-facing API for ListState

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

[jira] [Created] (FLINK-4307) Broken user-facing API for ListState

Shang Yuanchun (Jira)
Stephan Ewen created FLINK-4307:
-----------------------------------

             Summary: Broken user-facing API for ListState
                 Key: FLINK-4307
                 URL: https://issues.apache.org/jira/browse/FLINK-4307
             Project: Flink
          Issue Type: Bug
          Components: Streaming
            Reporter: Stephan Ewen
            Assignee: Stephan Ewen
            Priority: Blocker
             Fix For: 1.1.0


The user-facing {{ListState}} is supposed to return an empty list when no element is contained in the state.

A previous change altered that behavior to make it in the runtime classes accessible whether a ListState is empty.

To not break the user-facing API, we need to restore the behavior for ListState exposed to the users via the {{RuntimeContext}}.



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