You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Nicholas Jiang (Jira)" <ji...@apache.org> on 2020/05/11 09:08:00 UTC

[jira] [Created] (FLINK-17610) Align the behavior of result of internal map state to return empty iterator

Nicholas Jiang created FLINK-17610:
--------------------------------------

             Summary: Align the behavior of result of internal map state to return empty iterator
                 Key: FLINK-17610
                 URL: https://issues.apache.org/jira/browse/FLINK-17610
             Project: Flink
          Issue Type: Improvement
          Components: Runtime / State Backends
    Affects Versions: 1.11.0
            Reporter: Nicholas Jiang


There are different behaviors of result of internal map state. For HeapMapState, #entries(), #keys(), #values(), and #iterator() would all return null. However, for RocksDBMapState, #entries() would return null, while #keys(), #values(), #iterator() would return empty iterator. UserFacingMapState would align these behaviors to empty iterator for users, therefore this should better align these internal behavior to return empty iterator instead of null.



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