[jira] [Commented] (FLINK-30217) Use ListState#update() to replace clear + add mode.

2022-12-08 Thread xljtswf (Jira)
[ https://issues.apache.org/jira/browse/FLINK-30217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17644794#comment-17644794 ] xljtswf commented on FLINK-30217: - For the KeyedState, I found this will almost always h

[jira] [Commented] (FLINK-30208) avoid unconditional state update in CountTrigger#onElement

2022-12-08 Thread xljtswf (Jira)
[ https://issues.apache.org/jira/browse/FLINK-30208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17644784#comment-17644784 ] xljtswf commented on FLINK-30208: - [~kevin.cyj] Yes, this is the most cases. Indeed, the

[jira] [Updated] (FLINK-30217) Use ListState#update() to replace clear + add mode.

2022-11-25 Thread xljtswf (Jira)
[ https://issues.apache.org/jira/browse/FLINK-30217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] xljtswf updated FLINK-30217: Component/s: API / DataStream > Use ListState#update() to replace clear + add mode. >

[jira] [Created] (FLINK-30217) Use ListState#update() to replace clear + add mode.

2022-11-25 Thread xljtswf (Jira)
xljtswf created FLINK-30217: --- Summary: Use ListState#update() to replace clear + add mode. Key: FLINK-30217 URL: https://issues.apache.org/jira/browse/FLINK-30217 Project: Flink Issue Type: Improve

[jira] [Created] (FLINK-30208) avoid unconditional state update in CountTrigger#onElement

2022-11-25 Thread xljtswf (Jira)
xljtswf created FLINK-30208: --- Summary: avoid unconditional state update in CountTrigger#onElement Key: FLINK-30208 URL: https://issues.apache.org/jira/browse/FLINK-30208 Project: Flink Issue Type:

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

2022-11-21 Thread xljtswf (Jira)
[ https://issues.apache.org/jira/browse/FLINK-30048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] xljtswf closed FLINK-30048. --- Resolution: Won't Do > MapState.remove(UK key) is better to return the old value. >

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

2022-11-16 Thread xljtswf (Jira)
xljtswf created FLINK-30048: --- Summary: MapState.remove(UK key) is better to return the old value. Key: FLINK-30048 URL: https://issues.apache.org/jira/browse/FLINK-30048 Project: Flink Issue Type: