[jira] [Commented] (FLINK-30048) MapState.remove(UK key) is better to return the old value.

2022-11-18 Thread Yanfei Lei (Jira)
[ https://issues.apache.org/jira/browse/FLINK-30048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17635807#comment-17635807 ] Yanfei Lei commented on FLINK-30048: Sorry for the late reply. As [~masteryhx] mentioned, since the

[jira] [Commented] (FLINK-30048) MapState.remove(UK key) is better to return the old value.

2022-11-17 Thread Lijie Wang (Jira)
[ https://issues.apache.org/jira/browse/FLINK-30048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17635629#comment-17635629 ] Lijie Wang commented on FLINK-30048: Thanks for [~masteryhx] 's detailed explanation. If so, +1 for

[jira] [Commented] (FLINK-30048) MapState.remove(UK key) is better to return the old value.

2022-11-17 Thread Hangxiang Yu (Jira)
[ https://issues.apache.org/jira/browse/FLINK-30048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17635320#comment-17635320 ] Hangxiang Yu commented on FLINK-30048: -- For RocksDBStateBackend, 'Remove' just add a delete flag to

[jira] [Commented] (FLINK-30048) MapState.remove(UK key) is better to return the old value.

2022-11-17 Thread Lijie Wang (Jira)
[ https://issues.apache.org/jira/browse/FLINK-30048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17635241#comment-17635241 ] Lijie Wang commented on FLINK-30048: I think it makes sense, but it involves the changs of the