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

   ### Purpose
   
   Implements the Snapshot commands proposed in 
[#11073](https://github.com/apache/paimon/issues/11073).
   
   Add read-only snapshot inspection to the PyPaimon CLI:
   
   - `paimon table list-snapshots <database.table>` lists retained snapshots in 
ascending snapshot ID order. It supports `--limit` and table or JSON output.
   - `paimon table snapshot <database.table>` returns the latest snapshot by 
default or a specific snapshot with `--snapshot-id`. It supports JSON or table 
output.
   
   These commands inspect snapshot metadata without reading table data.
   
   ### Tests
   - `paimon-python/pypaimon/tests/cli_table_test.py`: 62 passed.
   - `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