Add delta_version function to get a table's current version#316
Closed
djouallah wants to merge 5 commits into
Closed
Add delta_version function to get a table's current version#316djouallah wants to merge 5 commits into
djouallah wants to merge 5 commits into
Conversation
Exposes the current version of a Delta table via delta_version(path), returning a single row (version UBIGINT). Reuses the existing DeltaMultiFileList snapshot loading and the metadata table-function plumbing. Addresses #234 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Contributor
Author
|
@benfleis @samansmink any chance you have a look, it is only touching the read path and less dependancy on delta_rs :) |
Member
|
Hi @djouallah thanks for the ping! I have 3 adjustments needed, which I'll apply and push:
Thanks!! |
- convert to scalar function - rename: delta_version too ambiguous, use delta_table_version - document it
Member
|
Hey @djouallah did you mean to close this? It got back-burnered by the build issues, but I planned to finish it shortly. |
Contributor
Author
|
Damn sorry, I deleted the repo by accident |
Member
|
I still have a copy so I can pick it up, was just checking whether I missed a reason to delete :) |
Contributor
Author
|
someone from reddit, took my fork as a new project, i freakout, so i deleted the repo, sorry :) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a
delta_version('path')table function that returns the current (HEAD) version of a Delta table as a single row.Closes #234
🤖 Generated with Claude Code