refactor: remove table level stats on TableProvider#4174
Merged
ion-elgreco merged 3 commits intodelta-io:mainfrom Feb 9, 2026
Merged
refactor: remove table level stats on TableProvider#4174ion-elgreco merged 3 commits intodelta-io:mainfrom
ion-elgreco merged 3 commits intodelta-io:mainfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4174 +/- ##
==========================================
- Coverage 76.63% 76.63% -0.01%
==========================================
Files 166 166
Lines 47052 46745 -307
Branches 47052 46745 -307
==========================================
- Hits 36059 35823 -236
+ Misses 9250 9187 -63
+ Partials 1743 1735 -8 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
ion-elgreco
previously approved these changes
Feb 7, 2026
Signed-off-by: Robert Pack <[email protected]>
0de6c32 to
ad7c6c0
Compare
This started failing after some changes that touch the table provider because the order of rows returned was not the same as expected before. My opinion is that ordering is not guaranteed unless an ordering predicate is supplied 😄 Signed-off-by: R. Tyler Croy <[email protected]>
rtyler
approved these changes
Feb 8, 2026
ion-elgreco
approved these changes
Feb 9, 2026
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.
Description
For delta tables, table level statistics are not quite as useful as file level stats. However we do go through quite some trouble to expose table level stats which also assume we always have a materialised log to expose these stats. As such, it hinders us in migration to a lazy architecture.
In fact the datafusion native file-based table implementation (parquet, json, csv, ...) only expose stats on the execution pkan level, and not on the table provider level.
In this PR we therefore remote the table level stats from the current table provider and remove the associated code.