Skip to content

Commit e3fe1a1

Browse files
committed
Try to fix again
1 parent cb5e474 commit e3fe1a1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Storages/IStorageCluster.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,10 @@ void IStorageCluster::read(
413413

414414
std::optional<Tables> external_tables = std::nullopt;
415415
if (send_external_tables && query_info.planner_context && query_info.planner_context->getMutableQueryContext())
416+
{
416417
external_tables = query_info.planner_context->getMutableQueryContext()->getExternalTables();
418+
send_external_tables = false;
419+
}
417420

418421
auto reading = std::make_unique<ReadFromCluster>(
419422
column_names,
@@ -615,7 +618,7 @@ QueryProcessingStage::Enum IStorageCluster::getQueryProcessingStage(
615618
{
616619
if (!context->getSettingsRef()[Setting::allow_experimental_analyzer])
617620
throw Exception(ErrorCodes::NOT_IMPLEMENTED,
618-
"object_storage_cluster_join_mode!='allow' is not supported without allow_experimental_analyzer=false");
621+
"object_storage_cluster_join_mode!='allow' is not supported without allow_experimental_analyzer=true");
619622

620623
if (object_storage_cluster_join_mode == ObjectStorageClusterJoinMode::LOCAL)
621624
{

0 commit comments

Comments
 (0)