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

   ### What changes were proposed in this pull request?
   
   This PR aims to send `RemoveCachedRemoteRelationCommand` when a checkpointed 
`DataFrame` is deallocated. Since `deinit` cannot be `async`, the command is 
sent best-effort in a detached task, like the Scala and Python clients.
   
   ### Why are the changes needed?
   
   `checkpoint`/`localCheckpoint` creates a server-side `CachedRemoteRelation` 
which was never removed, leaking on the server for the lifetime of the session.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   Pass the CIs with a newly added test case.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Fable 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