lilei1128 opened a new pull request, #9138:
URL: https://github.com/apache/paimon/pull/9138
### Purpose
Add the `$file_indexes` system table for inspecting per-file file index
metadata in a snapshot.
The table exposes one row per data file, indexed column, and index type,
including index storage type, index payload size, container size, and
empty-index status. It supports both embedded indexes and external `.index`
files.
Read only file index headers to avoid loading index payloads, and iterate
splits and data files lazily to reduce memory usage. External index
container
sizes are reported using the actual filesystem file size. Add contextual
exception handling for malformed or truncated index files.
Document its schema and relationship with `table_indexes`.
### Tests
- FileIndexFormatFormatTest
- FileIndexesTableTest
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]