Zakelly commented on code in PR #24781:
URL: https://github.com/apache/flink/pull/24781#discussion_r1599526237


##########
flink-streaming-java/src/main/java/org/apache/flink/streaming/api/operators/StreamingRuntimeContext.java:
##########
@@ -256,6 +256,20 @@ public <T> 
org.apache.flink.api.common.state.v2.ValueState<T> getValueState(
         return keyedStateStoreV2.getValueState(stateProperties);
     }
 
+    public <T> org.apache.flink.api.common.state.v2.ListState<T> getListState(

Review Comment:
   Whether to expose State v2 to `RuntimeContext` needs more discussion.
   
   It is a mistake that the `StateDescriptor` in runtime module. It should be 
under `flink-core-api`, I'll move this.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to