sjwiesman commented on a change in pull request #9889: [FLINK-14355] [docs] 
Example code in state processor API docs doesn't compile
URL: https://github.com/apache/flink/pull/9889#discussion_r334916297
 
 

 ##########
 File path: docs/dev/libs/state_processor_api.md
 ##########
 @@ -310,9 +316,11 @@ DataSet<KeyedState> keyedState = 
savepoint.readKeyedState("my-uid", new ReaderFu
 case class KeyedState(key: Int, value: Int)
  
 class ReaderFunction extends KeyedStateReaderFunction[Integer, KeyedState] {
-  var state ValueState[Integer];
+  var state: ValueState[Integer];
+  var stateDescriptor: ValueStateDescriptor[Integer]
 
 Review comment:
   Same, just declare this variable inside of open.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to