Skip to content
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

Add interfaces for Action CheckSnapshotIntegrity #10642

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

huaxingao
Copy link
Contributor

Co-authored-by: Yufei Gu yufei@apache.org
Co-authored-by: Huaxin Gao huaxin_gao@apple.com

This PR adds interfaces for Action CheckSnapshotIntegrity. We will have another PR to implement the interfaces in Spark 3.4 and Spark 3.5.


/**
* Passes an alternative executor service that will be used for snapshot integrity checking. If
* this method is not called, snapshot integrity checker will still be running by a single
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: 2nd part can be rewritten as a single threaded executor service is used by default

* "/path/to/00001-8893aa9e-f92e-4443-80e7-cfa42238a654.metadata.json".
* @return this for method chaining
*/
CheckSnapshotIntegrity targetVersion(String targetVersion);
Copy link
Contributor

@himadripal himadripal Jul 9, 2024

Choose a reason for hiding this comment

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

should the param name be changed to targetVersionFilePointer or targetVersionMetadataFile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants