[python] Support REST function API in pypaimon#7559
Merged
JingsongLi merged 1 commit intoapache:masterfrom Apr 2, 2026
Merged
Conversation
Contributor
Contributor
Author
747de10 to
379d5b9
Compare
Contributor
Author
Do you mean we can support callable function in Pypaimon? We can create a separate PR for it. |
Contributor
|
+1 |
JingsongLi
reviewed
Apr 2, 2026
|
|
||
| uuid: Optional[str] = json_field(FIELD_UUID, default=None) | ||
| name: Optional[str] = json_field(FIELD_NAME, default=None) | ||
| input_params: Optional[List] = json_field(FIELD_INPUT_PARAMS, default=None) |
Contributor
There was a problem hiding this comment.
It is a List[dict] or List[DataField]?
Contributor
Author
There was a problem hiding this comment.
It is a
List[dict]orList[DataField]?
Update it as List[DataField]
JingsongLi
reviewed
Apr 2, 2026
| return database_name.strip(), table_name.strip() | ||
|
|
||
|
|
||
| class IllegalArgumentError(Exception): |
Contributor
There was a problem hiding this comment.
Should be defined in catalog_exception.py.
Contributor
Author
There was a problem hiding this comment.
Should be defined in
catalog_exception.py.
Moved
JingsongLi
reviewed
Apr 2, 2026
| return self._type == other._type and self._data == other._data | ||
|
|
||
| def __hash__(self): | ||
| return hash(self._type) |
Contributor
Author
There was a problem hiding this comment.
Why not add _data?
Refactored and followed same structure with java.
934d0b0 to
d487187
Compare
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
d487187 to
56a4319
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Tests
rest_function_testrun with mock server and real rest server both. And bug or gap is fixed in #7575 and #7568