MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / allowParallelHashJoin

Function allowParallelHashJoin

src/Interpreters/TableJoin.cpp:1292–1306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1290}
1291
1292bool allowParallelHashJoin(
1293 const std::vector<JoinAlgorithm> & join_algorithms,
1294 JoinKind kind,
1295 bool is_special_storage,
1296 bool one_disjunct)
1297{
1298 if (std::ranges::none_of(join_algorithms, [](auto algo) { return algo == JoinAlgorithm::PARALLEL_HASH; }))
1299 return false;
1300 if (kind != JoinKind::Left && kind != JoinKind::Inner
1301 && kind != JoinKind::Right && kind != JoinKind::Full)
1302 return false;
1303 if (is_special_storage || !one_disjunct)
1304 return false;
1305 return true;
1306}
1307}

Callers 2

allowParallelHashJoinMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected