siying commented on PR #60073:
URL: https://github.com/apache/spark/pull/60073#issuecomment-6636928913

   Thanks for the suggestion. I added focused unit coverage in 
`MultiStatefulOperatorsSuite` in commit 82a8096908f.
   
   The test runs with exchange reuse both enabled and disabled and verifies:
   
   * `ReusedExchangeExec` is present only when reuse is enabled.
   * Both `StateStoreSaveExec` operators receive `Some(10000L)` as their 
eviction watermark.
   * Both union branches emit the closed window rows.
   * Each operator retains only the expected `[10, 15)` state row.
   
   I kept the streaming SQL golden test as an end-to-end regression. The full 
`MultiStatefulOperatorsSuite` passed (21 tests).
   
   I did not add the optional separate join test with two independently applied 
watermarks because the reuse-disabled case provides the direct negative control 
for this fix, while distinct watermark-node identity is separate behavior. I 
can add that test as well if you think it should be covered in this PR.


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