-
Notifications
You must be signed in to change notification settings - Fork 391
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
feat(spark-connector):support JDBC catalog #6212
base: main
Are you sure you want to change the base?
Conversation
Thanks for your PR, could you add corresponding IT? You could refer to |
add integeration test
8b20d04
to
72e0ead
Compare
The code looks clean; looking forward to have it. |
@@ -39,6 +39,9 @@ val scalaCollectionCompatVersion: String = libs.versions.scala.collection.compat | |||
|
|||
dependencies { | |||
implementation(project(":catalogs:catalog-common")) | |||
implementation(project(":catalogs:catalog-jdbc-common")) { |
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.
catalogs:catalog-jdbc-common
is the module of Gravitino server, why adding this dependences?
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.
could you remove this?
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.
remove this will cause integration tests to fail. https://github.com/apache/gravitino/actions/runs/12900772663/job/35971803812?pr=6212
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.
we need to fix the IT failures, we could checkout the errors in server side. you could download the log in https://github.com/apache/gravitino/actions/runs/12900772663?pr=6212
...k-common/src/main/java/org/apache/gravitino/spark/connector/jdbc/SparkJdbcTypeConverter.java
Show resolved
Hide resolved
...ommon/src/test/java/org/apache/gravitino/spark/connector/integration/test/SparkCommonIT.java
Outdated
Show resolved
Hide resolved
...test/java/org/apache/gravitino/spark/connector/integration/test/jdbc/SparkJdbcCatalogIT.java
Outdated
Show resolved
Hide resolved
...va/org/apache/gravitino/spark/connector/integration/test/jdbc/SparkJdbcTableInfoChecker.java
Show resolved
Hide resolved
66a0162
to
dfff9aa
Compare
What changes were proposed in this pull request?
Support JDBC catalog in Spark Connector
Why are the changes needed?
Fix: #1572 #6164
Does this PR introduce any user-facing change?
no
How was this patch tested?
TestJdbcPropertiesConverter
SparkJdbcCatalogIT