Skip to content

[SPARK-52172] Add checkpoint and localCheckpoint for DataFrame #157

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

dongjoon-hyun
Copy link
Member

@dongjoon-hyun dongjoon-hyun commented May 15, 2025

What changes were proposed in this pull request?

This PR aims to add checkpoint and localCheckpoint APIs to DataFrame.

Why are the changes needed?

For feature parity.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Pass the CIs. I manually checked the UI.

Was this patch authored or co-authored using generative AI tooling?

Pass the CIs.

// By default, reliable checkpoint location is required.
try await #require(throws: Error.self) {
try await spark.range(10).checkpoint()
if await spark.version >= "4.0.0" {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder why skipping Spark 3?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ya, I was also surprised with the failure at the first commit.
Spark Connect didn't support this feature until 4.0.0.

@dongjoon-hyun
Copy link
Member Author

Thank you, @viirya . Merged to main.

@dongjoon-hyun dongjoon-hyun deleted the SPARK-52172 branch May 16, 2025 01:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants