[jira] [Created] (FLINK-22125) Revisit the return value of MapState.get when the key doesn't exists

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

[jira] [Created] (FLINK-22125) Revisit the return value of MapState.get when the key doesn't exists

Shang Yuanchun (Jira)
Dian Fu created FLINK-22125:
-------------------------------

             Summary: Revisit the return value of MapState.get when the key doesn't exists
                 Key: FLINK-22125
                 URL: https://issues.apache.org/jira/browse/FLINK-22125
             Project: Flink
          Issue Type: Sub-task
          Components: API / Python
    Affects Versions: 1.13.0
            Reporter: Dian Fu
             Fix For: 1.13.0


Currently, it will thrown KeyError if the key doesn't exist for MapState in Python DataStream API. However, it returns null in the Java DataStream API. Maybe we should keep the behavior the same across Python DataStream API and Java DataStream API.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)