-
Notifications
You must be signed in to change notification settings - Fork 406
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
[#3587] feat(trino-connector): Support create Internal connector like hive/iceberg/mysql/pg/memory #3588
[#3587] feat(trino-connector): Support create Internal connector like hive/iceberg/mysql/pg/memory #3588
Conversation
2. Support create gravitino catalog by CREATE CATALOG statement
.../src/main/java/com/datastrato/gravitino/trino/connector/GravitinoConnectorPluginManager.java
Show resolved
Hide resolved
.../src/main/java/com/datastrato/gravitino/trino/connector/GravitinoConnectorPluginManager.java
Outdated
Show resolved
Hide resolved
|
||
// Load all plugins | ||
for (String pluginName : usePlugins) { | ||
loadPlugin(pluginDir, pluginName); |
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 seems that we will omit the left catalogs if any of them fails to load.
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.
I think if the connector plugin fails to load, the Trino server should fail during startup.
.../src/main/java/com/datastrato/gravitino/trino/connector/GravitinoConnectorPluginManager.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.
LGTM
…r like hive/iceberg/mysql/pg/memory (apache#3588) ### What changes were proposed in this pull request? Support create Internal connector like hive/iceberg/mysql/pg/memory ### Why are the changes needed? Fix: apache#3587 ### Does this PR introduce _any_ user-facing change? NO ### How was this patch tested? NO
…r like hive/iceberg/mysql/pg/memory (apache#3588) ### What changes were proposed in this pull request? Support create Internal connector like hive/iceberg/mysql/pg/memory ### Why are the changes needed? Fix: apache#3587 ### Does this PR introduce _any_ user-facing change? NO ### How was this patch tested? NO
…r like hive/iceberg/mysql/pg/memory (apache#3588) ### What changes were proposed in this pull request? Support create Internal connector like hive/iceberg/mysql/pg/memory ### Why are the changes needed? Fix: apache#3587 ### Does this PR introduce _any_ user-facing change? NO ### How was this patch tested? NO
What changes were proposed in this pull request?
Support create Internal connector like hive/iceberg/mysql/pg/memory
Why are the changes needed?
Fix: #3587
Does this PR introduce any user-facing change?
NO
How was this patch tested?
NO