-
Notifications
You must be signed in to change notification settings - Fork 8.3k
[RFC] Tables and dictionaries loading order on server startup and related issues #15170
Copy link
Copy link
Closed
Labels
cloudImportant for CloudImportant for Cloudcomp-ddlDDL command coordination and execution (ON CLUSTER, DDL queue).DDL command coordination and execution (ON CLUSTER, DDL queue).comp-dictionaryDictionaries (in-memory key-value, periodically refreshed from sources).Dictionaries (in-memory key-value, periodically refreshed from sources).st-discussionWhen the implementation aspects are not clear or when the PR is on hold due to questions.When the implementation aspects are not clear or when the PR is on hold due to questions.
Description
It's just a draft, I will complete the description later
Use case
If some table depends on another table or dictionary (for example, expression in MATERIALIZED, ALIAS or DEFAULT contains joinGet(...) or dictGet(...) or IN operator with StorageSet, maybe there are some other scenarios), then clickhouse-server may fail to start because it doesn't take into account such dependencies.
Describe the solution you'd like
See #15157 (comment)
Additional context
It would be great to collect all related issues here to choose the proper solution.
#8004 #13613 #13059 #15157 #13359
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
cloudImportant for CloudImportant for Cloudcomp-ddlDDL command coordination and execution (ON CLUSTER, DDL queue).DDL command coordination and execution (ON CLUSTER, DDL queue).comp-dictionaryDictionaries (in-memory key-value, periodically refreshed from sources).Dictionaries (in-memory key-value, periodically refreshed from sources).st-discussionWhen the implementation aspects are not clear or when the PR is on hold due to questions.When the implementation aspects are not clear or when the PR is on hold due to questions.