jianguotian opened a new pull request, #66: URL: https://github.com/apache/paimon-mosaic/pull/66
## What Mosaic shipped no viewer tooling — inspecting a file meant writing Rust against the library API. This adds a `mosaic` binary (new `cli` workspace crate) mirroring parquet-cli: - **schema** — column names, Arrow types, nullability, bucket assignment - **meta** — row groups, rows, per-column stats (null_count/min/max) - **cat** — first N rows as a table, with `-n` and `--columns` projection - **pages** — per-column encoding (plain/const/dict/all_null) + slot size All four support `--json`. The reader is driven over a new file-backed `InputFile` (pread). ## Core changes (read-only, additive) Three small accessors used by `pages`: `BucketReader::encodings()`, `ColumnPageReader::encoding()`, `MosaicReader::page_infos()`. No format or behavior change. ## Verification 199 core tests pass; built schema/meta/cat/pages in both text and JSON; encodings detected correctly (const/plain/dict) on a multi-bucket file. 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
