-
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
[#2080] feat(core): Add JDBC backend operations for metalake #1980
[#2080] feat(core): Add JDBC backend operations for metalake #1980
Conversation
In this PR, Mybatis is used as the ORM framework to implement complex joint queries through SQL in the future, and transaction management can be performed well. |
9a8389b
to
92ca94b
Compare
@jerryshao @yuqi1129 @coolderli This PR is ready for review, please take a look when you have time, thanks! |
4594fe2
to
1fc8cd0
Compare
1fc8cd0
to
3442dbe
Compare
eb4164e
to
fde3c14
Compare
common/src/main/java/com/datastrato/gravitino/json/JsonUtils.java
Outdated
Show resolved
Hide resolved
0010748
to
2512912
Compare
core/src/main/java/com/datastrato/gravitino/storage/relational/mysql/MySQLBackend.java
Outdated
Show resolved
Hide resolved
.../java/com/datastrato/gravitino/storage/relational/mysql/session/SqlSessionFactoryHelper.java
Outdated
Show resolved
Hide resolved
...c/main/java/com/datastrato/gravitino/storage/relational/mysql/mapper/MetalakeMetaMapper.java
Outdated
Show resolved
Hide resolved
@xloya Thanks for your PR. |
common/src/main/java/com/datastrato/gravitino/json/JsonUtils.java
Outdated
Show resolved
Hide resolved
core/src/main/java/com/datastrato/gravitino/storage/relational/mysql/MySQLBackend.java
Outdated
Show resolved
Hide resolved
core/src/main/java/com/datastrato/gravitino/storage/relational/mysql/MySQLBackend.java
Outdated
Show resolved
Hide resolved
core/src/main/java/com/datastrato/gravitino/storage/relational/mysql/MySQLBackend.java
Outdated
Show resolved
Hide resolved
2b2aef4
to
0faa6ec
Compare
0faa6ec
to
7760554
Compare
@xloya , overall LGTM, I have no further comment, we can update anything missing in the follow-up PRs. |
Thanks @qqqttt123 @yuqi1129 @jerryshao @diqiu50 @YxAc @coolderli @justinmclean for your reviews! |
### 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. --------- 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 Metalake metadata which use MySQL as the database. Depend on #1930. Metadata operations of Catalog, Schema, Table and Fileset will be supported in the remaining PRs.
Why are the changes needed?
Fix: #2080
How was this patch tested?
Add unit tests to test the metalake metadata ops.