Skip to content

feat: read column and partition stats from metadata table#521

Draft
xushiyan wants to merge 1 commit intoapache:mainfrom
xushiyan:read-column-stats-mdt
Draft

feat: read column and partition stats from metadata table#521
xushiyan wants to merge 1 commit intoapache:mainfrom
xushiyan:read-column-stats-mdt

Conversation

@xushiyan
Copy link
Member

Description

How are the changes test-covered

  • N/A
  • Automated tests (unit and/or integration tests)
  • Manual tests
    • Details are described below

@codecov
Copy link

codecov bot commented Jan 18, 2026

Codecov Report

❌ Patch coverage is 27.71588% with 519 lines in your changes missing coverage. Please review.
✅ Project coverage is 77.44%. Comparing base (0cc771c) to head (38b4bc9).

Files with missing lines Patch % Lines
crates/core/src/metadata/table/records.rs 0.00% 184 Missing ⚠️
crates/core/src/metadata/table/stats.rs 14.93% 131 Missing ⚠️
crates/core/src/table/fs_view.rs 36.11% 69 Missing ⚠️
crates/core/src/file_group/reader.rs 0.00% 60 Missing ⚠️
crates/core/src/metadata/merger.rs 0.00% 36 Missing ⚠️
crates/core/src/metadata/table/files.rs 48.57% 18 Missing ⚠️
crates/core/src/metadata/table/mod.rs 53.33% 7 Missing ⚠️
crates/core/src/table/pruning/file_pruner.rs 28.57% 5 Missing ⚠️
crates/core/src/table/pruning/mod.rs 90.00% 4 Missing ⚠️
crates/core/src/table/mod.rs 80.00% 3 Missing ⚠️
... and 1 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #521      +/-   ##
==========================================
- Coverage   85.12%   77.44%   -7.69%     
==========================================
  Files          70       74       +4     
  Lines        4511     5103     +592     
==========================================
+ Hits         3840     3952     +112     
- Misses        671     1151     +480     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@xushiyan xushiyan force-pushed the read-column-stats-mdt branch 4 times, most recently from 11c4996 to c06b245 Compare January 18, 2026 08:26
@xushiyan xushiyan linked an issue Jan 18, 2026 that may be closed by this pull request
@xushiyan xushiyan force-pushed the read-column-stats-mdt branch from c06b245 to ed4773a Compare January 18, 2026 18:02
@xushiyan xushiyan force-pushed the read-column-stats-mdt branch from ed4773a to 38b4bc9 Compare January 19, 2026 00:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

support reading column_stats partition in metadata table

1 participant