fengruotj opened a new pull request, #11148:
URL: https://github.com/apache/paimon/pull/11148

   
   ### Purpose
   
   Implements the manifest commands proposed in 
[#11073](https://github.com/apache/paimon/issues/11073).
   
   Adds read-only manifest inspection to the PyPaimon CLI:
   
   - `paimon table list-manifests <database.table>` lists manifests referenced 
by the latest or a specified snapshot. It supports `--snapshot-id`, `--type` 
(`all`, `base`, `delta`, or `changelog`), and `--limit`, with table output by 
default or JSON output.
   - `paimon table manifest <database.table> --file <manifest-file>` reads a 
manifest directly and displays its original `ADD`/`DELETE` entries, including 
partition, bucket, file metadata, and statistics. It supports JSON output by 
default or table output, with the complete `entries` array displayed as a 
single field.
   
   These commands read snapshot, manifest, and schema metadata without scanning 
data files or modifying the table. CLI documentation and output examples are 
included.
   
   ### Tests
   
   - `paimon-python/pypaimon/tests/cli_table_test.py`: 84 passed, including 
manifest inspection regression tests.
   - `flake8` for the changed Python files: passed.


-- 
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]

Reply via email to