matar993 commented on PR #37026:
URL: https://github.com/apache/spark/pull/37026#issuecomment-1171044253

   Hello, I think for sure it can be done with TestGroupState which doesn't 
need to start a streaming query. 
   It can be seen as a UnitTest which aims to test the user function of 
flatMapGroupWithState.
   I agree with that, but what I intended to do in this PR, was just add two 
StreamActions within an existing test framework that is used to test a 
streaming query (let me say like an IntegrationTest).
   I know that this kind of test can be done separately using the 
TestGroupState utility class, but I would just like to add the ability to check 
also the state when you want to test your streaming query using that framework.


-- 
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]

Reply via email to