-
Notifications
You must be signed in to change notification settings - Fork 378
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
[#2081] feat(core): Add JDBC backend operations for catalog #2078
[#2081] feat(core): Add JDBC backend operations for catalog #2078
Conversation
47b817a
to
dd43519
Compare
dd43519
to
5045da9
Compare
27f45e3
to
9c5eaa8
Compare
We use Spotless to ensure code is consistently formatted, look likes there is a formatting error that you can fix with |
Since the dependent PR is still under review, the PR has not been updated in time. This PR will be updated today. Thanks. |
972dcf8
to
82c4e8c
Compare
f08e9f6
to
e789c5a
Compare
@xloya |
e789c5a
to
3309d12
Compare
3309d12
to
db62749
Compare
Also gentle pin @jerryshao @qqqttt123 @coolderli for reviews. |
db62749
to
fada86d
Compare
api/src/main/java/com/datastrato/gravitino/exceptions/NoSuchEntityException.java
Outdated
Show resolved
Hide resolved
core/src/main/java/com/datastrato/gravitino/storage/relational/service/CatalogMetaService.java
Outdated
Show resolved
Hide resolved
core/src/main/java/com/datastrato/gravitino/storage/relational/service/CatalogMetaService.java
Outdated
Show resolved
Hide resolved
core/src/main/java/com/datastrato/gravitino/storage/relational/service/CatalogMetaService.java
Show resolved
Hide resolved
core/src/main/java/com/datastrato/gravitino/storage/relational/service/CatalogMetaService.java
Show resolved
Hide resolved
core/src/main/java/com/datastrato/gravitino/storage/relational/service/CatalogMetaService.java
Show resolved
Hide resolved
core/src/test/java/com/datastrato/gravitino/storage/relational/TestRelationalEntityStore.java
Show resolved
Hide resolved
5ebec02
to
9aa6056
Compare
9aa6056
to
70a91d0
Compare
if (re.getCause() != null | ||
&& re.getCause().getCause() != null | ||
&& re.getCause().getCause() instanceof SQLIntegrityConstraintViolationException) { | ||
// TODO We should make more fine-grained exception judgments |
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.
It would be best to create an issue to track it at this point. The current implementation is not aesthetically pleasing.
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.
Had created the issue before: #2227
Could you also assist in taking a look? @qqqttt123 |
LGTM. |
+1 @jerryshao , do you have any further comments? |
I don't have further comment, you can go ahead if you feel ok @yuqi1129 . |
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
### What changes were proposed in this pull request? The purpose of this PR is to implement JDBC backend operation Schema metadata. Depend on #2078 . Metadata operations of Table and Fileset will be supported in the remaining PRs. ### Why are the changes needed? Fix: #2082 ### How was this patch tested? Add unit tests to test the schema metadata ops. --------- Co-authored-by: xiaojiebao <[email protected]>
What changes were proposed in this pull request?
The purpose of this PR is to implement JDBC backend operation
Catalog
metadata. Depend on #1980 . Metadata operations of Schema, Table and Fileset will be supported in the remaining PRs.Why are the changes needed?
Fix: #2081
How was this patch tested?
Add unit tests to test the catalog metadata ops.