-
Notifications
You must be signed in to change notification settings - Fork 16
Cluster Joins part 2 - global mode #1527
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
base: antalya-26.1
Are you sure you want to change the base?
Changes from all commits
4a70d3b
972f1ee
b6bf151
38e89f4
e15af07
7649388
cb5e474
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -63,7 +63,7 @@ class IStorageCluster : public IStorage | |
|
|
||
| protected: | ||
| virtual void updateQueryToSendIfNeeded(ASTPtr & /*query*/, const StorageSnapshotPtr & /*storage_snapshot*/, const ContextPtr & /*context*/) {} | ||
| void updateQueryWithJoinToSendIfNeeded(ASTPtr & query_to_send, QueryTreeNodePtr query_tree, const ContextPtr & context); | ||
| void updateQueryWithJoinToSendIfNeeded(ASTPtr & query_to_send, SelectQueryInfo query_info, const ContextPtr & context); | ||
|
|
||
| virtual void updateConfigurationIfNeeded(ContextPtr /* context */) {} | ||
|
|
||
|
|
@@ -108,6 +108,7 @@ class IStorageCluster : public IStorage | |
|
|
||
| LoggerPtr log; | ||
| String cluster_name; | ||
| bool send_external_tables = false; | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Useful? React with 👍 / 👎. |
||
|
|
||
| struct QueryTreeInfo | ||
| { | ||
|
|
@@ -137,7 +138,8 @@ class ReadFromCluster : public SourceStepWithFilter | |
| ASTPtr query_to_send_, | ||
| QueryProcessingStage::Enum processed_stage_, | ||
| ClusterPtr cluster_, | ||
| LoggerPtr log_) | ||
| LoggerPtr log_, | ||
| std::optional<Tables> external_tables_) | ||
| : SourceStepWithFilter( | ||
| std::move(sample_block), | ||
| column_names_, | ||
|
|
@@ -149,6 +151,7 @@ class ReadFromCluster : public SourceStepWithFilter | |
| , processed_stage(processed_stage_) | ||
| , cluster(std::move(cluster_)) | ||
| , log(log_) | ||
| , external_tables(external_tables_) | ||
| { | ||
| } | ||
|
|
||
|
|
@@ -160,6 +163,7 @@ class ReadFromCluster : public SourceStepWithFilter | |
| LoggerPtr log; | ||
|
|
||
| std::optional<RemoteQueryExecutor::Extension> extension; | ||
| std::optional<Tables> external_tables; | ||
|
|
||
| void createExtension(const ActionsDAG::Node * predicate); | ||
| ContextPtr updateSettings(const Settings & settings); | ||
|
|
||
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.
This branch is entered when
allow_experimental_analyzeris disabled, but the message says the mode is unsupported withoutallow_experimental_analyzer=false. That inverts the required value and points users to the wrong configuration change when they hit this exception.Useful? React with 👍 / 👎.