zhangyue19921010 opened a new pull request, #30196: URL: https://github.com/apache/flink/pull/30196
## What is the purpose of the change The keyed state V2 guide lists a conditional combine method that does not exist. It also tells readers to return a plain value from the mapping overload of `StateIterator.onNext`, which fails to compile. [FLINK-41733](https://issues.apache.org/jira/browse/FLINK-41733) ## Brief change log List the supported conditional operations and point readers to `thenCombine` for combining futures. Explain that the iterator mapping callback returns a future per element and that its results are collected after completion. ## Verifying this change Compiled the documented callback forms against the current Java interfaces. The two previously described forms failed to compile. Ran `StateFutureTest` and `AbstractStateIteratorTest` locally. ## Does this pull request potentially affect one of the following parts The edits are confined to the keyed state guide in both documentation trees. ## Documentation Updated the Return Values section of Using Keyed State V2. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
