This commit is contained in:
vdimir 2024-10-03 16:49:19 +00:00
parent ad05a45435
commit 3fb92a61a0
No known key found for this signature in database
GPG Key ID: 6EE4CE2BEDC51862
2 changed files with 7 additions and 0 deletions

View File

@ -56,6 +56,11 @@ void optimizeJoin(QueryPlan::Node & node, QueryPlan::Nodes &)
return;
const auto & table_join = join->getTableJoin();
/// Algorithms other than HashJoin may not support OUTER JOINs
if (table_join.kind() != JoinKind::Inner && !typeid_cast<const HashJoin *>(join.get()))
return;
/// fixme: USING clause handled specially in join algorithm, so swap breaks it
/// fixme: Swapping for SEMI and ANTI joins should be alright, need to try to enable it and test
if (table_join.hasUsing() || table_join.strictness() != JoinStrictness::All)

View File

@ -4524,6 +4524,8 @@ class ClickHouseInstance:
):
# If custom main config is used, do not apply random settings to it
write_random_settings_config(Path(users_d_dir) / "0_random_settings.xml")
else:
print(f"XXXX Skip random settings for {self.name}, {self.randomize_settings} {self.image}:{self.tag} @ {self.base_config_dir} ?= {DEFAULT_BASE_CONFIG_DIR}")
version = None
version_parts = self.tag.split(".")