You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Dian Fu (Jira)" <ji...@apache.org> on 2021/04/06 12:49:00 UTC

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

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)