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)