HeartSaVioR commented on PR #37026: URL: https://github.com/apache/spark/pull/37026#issuecomment-1171711978
The new test utility methods heavily rely on fact the operation should be flatMapGroupsWithState whereas it is just a one of many stateful operations. I don't see this like a general way to query the state even in test context. In reality it should require the operator ID, store name (if the operator leverages multiple state stores) "at least". Please refer the implementation of stream-stream join how it leverages state store"s". It would be nice if we have a "general" way to query the state while streaming query is running (in general, reading the checkpoint while the query is running concurrently is a bad idea). Once we have the feature we can leverage the feature to achieve the same. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
