You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/05/11 10:00:11 UTC
[jira] [Updated] (FLINK-17610) Align the behavior of result of
internal map state to return empty iterator
[ https://issues.apache.org/jira/browse/FLINK-17610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated FLINK-17610:
-----------------------------------
Labels: pull-request-available (was: )
> 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
> Priority: Minor
> Labels: pull-request-available
>
> 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)