Skip to content

[core] Add file_key_ranges system table#7500

Open
lilei1128 wants to merge 1 commit intoapache:masterfrom
lilei1128:add_file_key_ranges
Open

[core] Add file_key_ranges system table#7500
lilei1128 wants to merge 1 commit intoapache:masterfrom
lilei1128:add_file_key_ranges

Conversation

@lilei1128
Copy link
Contributor

Purpose

Add a new system table $file_key_ranges that exposes per-file key
ranges (min_key, max_key), file path, and first_row_id for each data
file. This enables users and DBAs to diagnose data distribution and
Global Index (PIP-41) coverage via SQL queries.

Schema (11 fields): partition, bucket, file_path, file_format,
schema_id, level, record_count, file_size_in_bytes, min_key, max_key,
first_row_id.

PIP-41: https://cwiki.apache.org/confluence/display/PAIMON/PIP-41%3A+Introduce+FilePath+Global+Index+And+Optimizations+For+Lookup+In+Append+Table

Tests

CI

@lilei1128
Copy link
Contributor Author

close #7438

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.

1 participant