Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

gaborkaszab
Copy link
Collaborator

Adjust ExpireSnapshotsSparkAction to use the default value of cleanExpiredMetadata from RemoveSnapshots Java API.

@github-actions github-actions bot added the spark label Aug 4, 2025
@gaborkaszab gaborkaszab requested review from nastra and pvary August 4, 2025 15:15
private ExecutorService deleteExecutorService = null;
private Dataset<FileInfo> expiredFileDS = null;
private boolean cleanExpiredMetadata = false;
private Boolean cleanExpiredMetadata = null;
Copy link
Contributor

Choose a reason for hiding this comment

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

@gaborkaszab since the change is tiny, could you please update Spark 3.4 + 3.5 within the same PR please?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Sure, done!

Copy link
Contributor

@anuragmantri anuragmantri left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @gaborkaszab

Adjust ExpireSnapshotsSparkAction to use the default value of
cleanExpiredMetadata from RemoveSnapshots Java API.
@gaborkaszab gaborkaszab force-pushed the spark_default_cleanExpiredMetadata branch from 7b962f1 to 75042e1 Compare August 5, 2025 06:58
@nastra nastra changed the title Spark 4.0: Use default cleanExpiredMetadata from Java API Spark: Use default cleanExpiredMetadata from Java API Aug 5, 2025
@pvary pvary merged commit ded1110 into apache:main Aug 5, 2025
27 checks passed
@pvary
Copy link
Contributor

pvary commented Aug 5, 2025

Merged to main.
Thanks for the PR @gaborkaszab and @anuragmantri, @nastra for the reviews!

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

Successfully merging this pull request may close these issues.

4 participants