You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "dongjoon-hyun (via GitHub)" <gi...@apache.org> on 2026/07/24 21:42:23 UTC

[PR] [SPARK-58339] Send `RemoveCachedRemoteRelationCommand` when checkpointed `DataFrame` is deallocated [spark-connect-swift]

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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [PR] [SPARK-58339] Send `RemoveCachedRemoteRelationCommand` when checkpointed `DataFrame` is deallocated [spark-connect-swift]

Posted by "dongjoon-hyun (via GitHub)" <gi...@apache.org>.
dongjoon-hyun closed pull request #444: [SPARK-58339] Send `RemoveCachedRemoteRelationCommand` when checkpointed `DataFrame` is deallocated
URL: https://github.com/apache/spark-connect-swift/pull/444


-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [PR] [SPARK-58339] Send `RemoveCachedRemoteRelationCommand` when checkpointed `DataFrame` is deallocated [spark-connect-swift]

Posted by "dongjoon-hyun (via GitHub)" <gi...@apache.org>.
dongjoon-hyun commented on PR #444:
URL: https://github.com/apache/spark-connect-swift/pull/444#issuecomment-5075781869

   Merged to main


-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [PR] [SPARK-58339] Send `RemoveCachedRemoteRelationCommand` when checkpointed `DataFrame` is deallocated [spark-connect-swift]

Posted by "dongjoon-hyun (via GitHub)" <gi...@apache.org>.
dongjoon-hyun commented on PR #444:
URL: https://github.com/apache/spark-connect-swift/pull/444#issuecomment-5075779309

   Thank you, Liang-Chi!


-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org