-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Improvement] Refactor api module #45
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@s7monk, thanks for the contribution. I'm confused about why you introduce the catalog in the refactoring API module? Meanwhile, why not directly use catalog of Paimon?
paimon-web-api/src/main/java/org/apache/paimon/web/api/catalog/PaimonCatalog.java
Outdated
Show resolved
Hide resolved
paimon-web-api/src/main/java/org/apache/paimon/web/api/catalog/PaimonCatalogFactory.java
Outdated
Show resolved
Hide resolved
paimon-web-api/src/main/java/org/apache/paimon/web/api/table/TableChange.java
Outdated
Show resolved
Hide resolved
paimon-web-api/src/main/java/org/apache/paimon/web/api/table/TableChange.java
Show resolved
Hide resolved
paimon-web-api/src/main/java/org/apache/paimon/web/api/table/TableChange.java
Outdated
Show resolved
Hide resolved
paimon-web-api/src/main/java/org/apache/paimon/web/api/table/TableChange.java
Outdated
Show resolved
Hide resolved
paimon-web-api/src/main/java/org/apache/paimon/web/api/table/TableChange.java
Outdated
Show resolved
Hide resolved
@SteNicholas Thanks for your review, I have updated this PR,PTAL. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@s7monk, thanks for updates. I left some comments for updates. PTAL.
paimon-web-api/src/main/java/org/apache/paimon/web/api/table/TableChange.java
Show resolved
Hide resolved
paimon-web-api/src/main/java/org/apache/paimon/web/api/catalog/PaimonServiceFactory.java
Show resolved
Hide resolved
paimon-web-api/src/main/java/org/apache/paimon/web/api/exception/ColumnException.java
Outdated
Show resolved
Hide resolved
paimon-web-api/src/main/java/org/apache/paimon/web/api/exception/ColumnException.java
Outdated
Show resolved
Hide resolved
paimon-web-api/src/main/java/org/apache/paimon/web/api/exception/ColumnException.java
Outdated
Show resolved
Hide resolved
paimon-web-api/src/main/java/org/apache/paimon/web/api/table/ColumnMetadata.java
Outdated
Show resolved
Hide resolved
paimon-web-api/src/test/java/org/apache/paimon/web/api/catalog/PaimonServiceTest.java
Outdated
Show resolved
Hide resolved
paimon-web-api/src/test/java/org/apache/paimon/web/api/catalog/PaimonServiceTest.java
Outdated
Show resolved
Hide resolved
paimon-web-api/src/test/java/org/apache/paimon/web/api/catalog/PaimonServiceTest.java
Show resolved
Hide resolved
paimon-web-common/src/main/java/org/apache/paimon/web/common/utils/ParameterValidationUtil.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@s7monk, I left some minor comments for updates. PTAL.
paimon-web-api/src/main/java/org/apache/paimon/web/api/table/TableChange.java
Outdated
Show resolved
Hide resolved
paimon-web-api/src/test/java/org/apache/paimon/web/api/catalog/PaimonServiceTest.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for @s7monk updates.
Purpose
[API] Refactor api module
Tests
PaimonCatalogTest
API and Format
Documentation