dongjoon-hyun opened a new pull request, #563:
URL: https://github.com/apache/spark-connect-swift/pull/563

   ### What changes were proposed in this pull request?
   
   This PR aims to fix `SparkConnectClient.execute` to collect responses per 
call via a local `Mutex` instead of the actor-shared `result` array.
   
   ### Why are the changes needed?
   
   Due to actor reentrancy, concurrent commands on the same session can return 
the responses of other commands. For example, concurrent 
`DataStreamWriter.start` calls return the same `StreamingQuery`.
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes, this fixes concurrent commands on the same `SparkSession`. There is no 
API change.
   
   ### How was this patch tested?
   
   Pass the CIs with the newly added test case.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Opus 5


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