apache / gravitino

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.
https://datastrato.ai/docs/
Apache License 2.0
681 stars 208 forks source link

[#3732] refactor(client-python): Update Python client to align with the Java client API #4046

Closed noidname01 closed 4 days ago

noidname01 commented 4 days ago

What changes were proposed in this pull request?

After the refactoring work in Java client is done (https://github.com/apache/gravitino/issues/3626), the Python client should also get updated to align with the Java API.

Why are the changes needed?

Fix: #3732

Does this PR introduce any user-facing change?

No

How was this patch tested?

UT added and test with ./gradlew clients:client-python:test

noidname01 commented 4 days ago

@shaofengshi @xloya @jerryshao Please review this PR, thanks!

shaofengshi commented 4 days ago

LGTM

jerryshao commented 4 days ago

We should fix the license header issue, it is changed to use ASF one now.