Lanznx opened a new pull request, #4824:
URL: https://github.com/apache/gravitino/pull/4824

   ### What changes were proposed in this pull request?
   
   - This PR aims to provide the Python client with the ability to send a 
create table API request.
   - Originally, the goal of #2254 was to implement the methods `listTables`, 
`loadTable`, `createTable`, `alterTable`, and `dropTable`.
   - However, to avoid a large codebase variation, I have minimized the scope 
of the issue by focusing on the `createTable` method.
   - Currently, the `createTable` method supports only the required arguments. 
Optional components such as `partitions`, `distribution`, `sort_orders`, and 
`indexes` are not implemented.
   
   ### Why are the changes needed?
   
   To satisfy the requirements of #2254.
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes, it introduces the `create_table` API.
   
   ### How was this patch tested?
   
   1. I added an integration test in `test_relational_catalog.py`, which 
requires MySQL to be running during the test.


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