ZENOTME opened a new pull request, #1462:
URL: https://github.com/apache/paimon-rust/pull/1462

   ### Purpose
   
   Closes #1461
   
   Allow Go applications to create databases and tables through the existing 
catalog.
   
   ### Brief change log
   
   - Expose the existing Rust catalog operations through the C ABI and wrap 
them in `Catalog.CreateDatabase` and `Catalog.CreateTable`.
   - Validate and normalize the Paimon schema JSON with the Rust core before 
creating the table.
   
   ### Tests
   
   - `cargo +1.95.0 test --locked -p paimon-c` (103 passed).
   - `CGO_ENABLED=1 go test -count=1 ./...` and `CGO_ENABLED=1 go vet ./...` in 
`bindings/go/tests`, using the rebuilt macOS arm64 library.
   - The new integration test creates a partial-update primary-key table in an 
empty filesystem catalog, writes and reads a batch, and checks error and 
duplicate handling.
   
   ### API and Format
   
   Adds two Go methods and two C exports. The storage format is unchanged.
   
   ### Documentation
   
   Adds a Go provisioning example.<!--
   Thank you very much for contributing to Paimon Rust - we are happy that you 
want to help us improve it. To help the community review your contribution in 
the best possible way, please go through the checklist below, which will get 
the contribution into a shape in which it can be best reviewed.
   
   ## Contribution Checklist
   
     - Make sure that the pull request corresponds to a [GitHub 
issue](https://github.com/apache/paimon-rust/issues). Exceptions are made for 
typos in documentation or comments, which need no issue.
   
     - Fill out the template below to describe the changes contributed by the 
pull request. That will give reviewers the context they need to do the review.
   
     - Make sure that the change passes the automated tests, i.e., `cargo test` 
passes.
   
     - Each pull request should address only one issue, not mix up code from 
multiple issues.
   
   **(The sections below can be removed for hotfixes or typos)**
   -->
   
   ### Purpose
   
   <!-- Linking this pull request to the issue -->
   Linked issue: close #xxx
   
   <!-- What is the purpose of the change -->
   
   ### Brief change log
   
   <!-- Please describe the changes made in this pull request and explain how 
they address the issue -->
   
   ### Tests
   
   <!-- List unit tests or integration cases to verify this change -->
   
   ### API and Format
   
   <!-- Does this change affect API or storage format -->
   
   ### Documentation
   
   <!-- Does this change introduce a new feature or require documentation 
updates -->
   


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