[Subtask] Add Partition APIs in Gravitino Python client
- Dominant language
- Java
- Stars
- 3.2k
- Forks
- 935
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 315
Description
### Describe the subtask
Add these Python function interfaces into Gravitino Python client, reference to the document for the API descriptions.
+ listPartitions(...): https://datastrato.ai/docs/0.4.0/api/rest/list-partitions
+ addPartition(...): https://datastrato.ai/docs/0.4.0/api/rest/add-partitions
+ getPartition(...): https://datastrato.ai/docs/0.4.0/api/rest/get-partition
We can reference the Gravitino JAVA client implementation, [RelationalTable.java](https://github.com/datastrato/gravitino/blob/main/clients/client-java/src/main/java/com/datastrato/gravitino/client/RelationalTable.java)
### Parent issue
#2113
Contributor guide
Research direction
Start with the three REST API descriptions for listPartitions, addPartition, and getPartition, then compare their interfaces with the Java client implementation in RelationalTable.java. Done means the Gravitino Python client exposes all three functions with behavior matching the documented APIs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, python
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100