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

   ### Purpose
   
   <!-- What is the purpose of the change -->
   This PR adds support for retrieving a table by its unique `tableId` in the 
REST Catalog. 
   
   Currently, tables can only be retrieved using `Identifier` (database + table 
name). This enhancement allows users to fetch table metadata directly using the 
table's UUID, which is useful when:
   - The table identifier (database/table name) is unknown but the tableId is 
available
   
   ### Tests
   
   <!-- List UT and IT cases to verify this change -->
   - `RESTCatalogTest#testGetTableById`: Verifies that a table can be retrieved 
by its tableId and validates the returned table metadata matches the original 
table.
   
   ### API and Format
   
   <!-- Does this change affect API or storage format -->
   
   - **New endpoint**: `GET /v1/{prefix}/tables/{tableId}`
   - **New Catalog interface method**: `Table getTable(String tableId) throws 
TableNotExistException`
   
   ### Documentation
   
   <!-- Does this change introduce a new feature -->
   updated `rest-catalog-open-api.yaml` with the new API endpoint specification.


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