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

[Kernel] Iteratively search (1000 versions at a time) for last checkpoint before a given version #2817

Merged
merged 2 commits into from
Mar 29, 2024

Conversation

vkorukanti
Copy link
Collaborator

@vkorukanti vkorukanti commented Mar 28, 2024

Description

Adds a utility method for iteratively searching backwards 1000 delta versions at a time from a given version to find the checkpoint. This utility method is used when loading a snapshot by version id. This is similar to how delta-spark does. More details are here.

How was this patch tested?

Existing tests and mock unittests for granular tests.

@vkorukanti vkorukanti added this to the 3.2.0 milestone Mar 28, 2024
@vkorukanti vkorukanti changed the title Last checkpoint [Kernel] Utility method to iteratively search for last checkpoint before a given version Mar 28, 2024
@vkorukanti vkorukanti changed the title [Kernel] Utility method to iteratively search for last checkpoint before a given version [Kernel] Utility to iteratively search for last checkpoint before a given version Mar 28, 2024
@vkorukanti vkorukanti force-pushed the lastCheckpoint branch 2 times, most recently from 30efc70 to 842ab16 Compare March 29, 2024 18:03
@vkorukanti vkorukanti changed the title [Kernel] Utility to iteratively search for last checkpoint before a given version [Kernel] Iteratively search (1000 versions at a time) for last checkpoint before a given version Mar 29, 2024
@vkorukanti vkorukanti merged commit 5ae57cc into delta-io:master Mar 29, 2024
7 checks passed
@vkorukanti vkorukanti deleted the lastCheckpoint branch May 9, 2024 02:42
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.

None yet

2 participants