Repository navigation
feat: add delete rows to table stats - #3783
Merged
Merged
Conversation
yuvalif
force-pushed
the
add-deleted-rows-to-stats
branch
from
August 6, 2026 11:39
3fa866f to
a81de59
Compare
yuvalif
force-pushed
the
add-deleted-rows-to-stats
branch
from
August 6, 2026 15:54
a81de59 to
c98e473
Compare
yuvalif
force-pushed
the
add-deleted-rows-to-stats
branch
from
August 6, 2026 17:35
c98e473 to
696ad7c
Compare
yuvalif
force-pushed
the
add-deleted-rows-to-stats
branch
from
August 10, 2026 12:23
696ad7c to
f20bcb9
Compare
yuvalif
force-pushed
the
add-deleted-rows-to-stats
branch
from
September 17, 2026 14:41
f20bcb9 to
663ab3e
Compare
5 of 14 tasks
add to table stats the number of rows that has been marked for deletion, but not yet deleted. note that when a table fragment is removed due to deletion of all of its rows, these rows are not counted. since the main use of this feature is to determine when table compaction is needed, the fact that these rows are not reported should not impact that decision (deleted table fragments don't need compaction). the value is optional, to support a case when a remote server does not report it. in the rust and python SDKs it will exists as "Mone". in the nodejs SDK it will not be in the stats (undefined). Fixes: lancedb#3761 Signed-off-by: Yuval Lifshitz <[email protected]> Co-authored-by: Claude Opus 5.0 <[email protected]>
yuvalif
force-pushed
the
add-deleted-rows-to-stats
branch
from
September 29, 2026 19:25
663ab3e to
b29d64e
Compare
There was a problem hiding this comment.
✅ Gate recommendation: approve.
The rebased patch preserves exact local deletion counts and distinguishes an omitted remote value from a genuine zero across the Rust, Python, and Node APIs. Focused native statistics tests pass against Lance beta.15, and the binding code retains its previously verified behavior.
Please mark this PR with the breaking-change label.
wjones127
approved these changes
Oct 7, 2026
Contributor
|
Thanks! |
yuvalif
added a commit
to yuvalif/lancedb-c
that referenced
this pull request
Oct 13, 2026
including deleted rows added here: lancedb/lancedb#3783 Signed-off-by: Yuval Lifshitz <[email protected]> Co-Authored-By: Claude Fable 5.1 <[email protected]>
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.
add to table stats the number of rows that has
been marked for deletion, but not yet deleted.
note that when a table fragment is removed due to
deletion of all of its rows, these rows are not counted. since the main use of this feature is to determine when table compaction is needed, the fact that these rows are not reported should not impact that decision (deleted table fragments don't need compaction).
Fixes: #3761