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

   ### Purpose
   
   Implements the Schema commands proposed in 
[#11073](https://github.com/apache/paimon/issues/11073).
   
   Add read-only schema inspection to the PyPaimon CLI:
   
   - `paimon table list-schemas <database.table>` lists available schema 
versions in ascending schema ID order. It supports `--limit` and JSON or table 
output. JSON is the default and includes the complete `TableSchema` metadata 
for each selected version.
   - `paimon table get <database.table>` returns the current schema by default, 
a specific version with `--schema-id`, or the schema referenced by a snapshot 
with `--snapshot-id`. The two selectors are mutually exclusive. It supports 
JSON or table output while preserving the existing default JSON format.
   
   These commands inspect schema metadata without reading table data.
   
   ### Tests
   
   - CLI and schema regression suites, including 
`paimon-python/pypaimon/tests/cli_table_test.py`: 177 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