-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Dynamic Catalogs #12709
Comments
I have a prototype if the basic stuff working, and an working on cleaning this up for submission. |
Hi, I use this PR to test DynamicCatalog, However, I ran into a problem when I deleted and then created a Hive Catalog. like reload, the first time is OK and can execute SQL, the second time will have the following error occurred when i execute SQL. so i take two days to read trino code, i found this commit #1820, i think @dain will face this problem in worker too, because it will generate a new classloader when you update hive catalog, but io.trino.plugin.hive.HiveTableHandle's instance loaded last time |
I am also interested in Dynamic Catalog, so I am trying to implement my own based on the PR. I solved the problem by slightly modifying AbstractTypedJacksonModule.InternalTypeDeserializer .
@Unclecc , If you apply the above code and test it, I think it will work. I'm not good at English... Please understand if the context is strange. |
Hi, I am also interested in Dynamic Catalog.When will this feature be available? |
Hey @Gqyanxin and anyone else that stumbles upon this issue. Keep in mind that this is an open-source project and some of this work has to happen during the developers' free time. The best you can do is follow this issue and the related to get a sense of how close they are. To get a sense of why this issue may take some time, see the discussion on this during the Trino Summit. If Dain has an update on when to expect this, he will provide them here. |
Hi, At ForePaaS, we are currently testing this new feature, which is proving to be very helpful for our use case. I have start some work on a JdbcCatalogStore inspirated by the FileCatalogStore. If this is something that is relevant to the main Trino open source project, I will create a merge request as soon as possible to discuss the subject with you. My goal is to have a dynamic catalog, with persistant data, but without directly using disk. |
@dain ^^ |
What's grammar now, I want to have a test for it. |
@dain Any update on when the pending items for MVP will be done? We have been eagerly waiting for this to be finished for a usable dynamic catalog capability. Pl let us know |
There is related work ongoing in #15921 - without that while you can have dynamic catalogs one of the most important connectors - Hive (and Iceberg) won't be able to be used with it. |
i need this feature,it can be used? |
It's useful to implementation k8s CRD based catalogs. And further more is Trino k8s operator. |
Hey, did you guys figure out the dynamic catalog? I am trying to make an API just for that, but I am missing the specific user permission that will allow me to do so. |
@dain A question, the
Right now none of the implementations actually adhere to this though and nor do we use e.g. in
This is interesting because the This is confusing. Can you please clarify whether Also lot of SPIs around pluggable catalog stores are marked |
This comment was marked as off-topic.
This comment was marked as off-topic.
In an offline discussion we realised that the I'll send a PR with the javadoc updates and some code cleanup. |
This is an umbrella tracking issue for the Dynamic Catalogs project. As we progress on this project, PRs and sub-issues will be linked back to this issue.
Goal
Add support for adding and removing catalogs without restarting servers or interrupting existing queries. This will be dependent on the connector being updated to support concurrent versions with same name (e.g., no JMX names containing just a catalog name). For non-compliant connectors, support a basic model where queries are killed when dropping.
For catalog properties the current plan is to simply use the existing
Map<String, String>
of arbitrary properties instead of requiring pre-declaration of typed catalog properties like is done for session and table properties. This is mainly for expedience and backwards compatibility of the existing connector configuration system.MVP Plan
Follow-up Items
The text was updated successfully, but these errors were encountered: