mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-19 21:03:51 +00:00
fix build
This commit is contained in:
parent
29433ef1ad
commit
eb99a17fed
@ -1407,7 +1407,10 @@ std::tuple<QueryPlan, JoinPtr> buildJoinQueryPlan(
|
||||
set_used_column_with_duplicates(columns_from_right_table, JoinTableSide::Right);
|
||||
}
|
||||
|
||||
auto join_algorithm = chooseJoinAlgorithm(table_join, right_table_expression, left_header, right_header, planner_context, select_query_info);
|
||||
trySetStorageInTableJoin(right_table_expression, table_join);
|
||||
auto prepared_join_storage = tryGetStorageInTableJoin(right_table_expression, planner_context);
|
||||
auto hash_table_stat_cache_key = preCalculateCacheKey(right_table_expression, select_query_info);
|
||||
auto join_algorithm = chooseJoinAlgorithm(table_join, prepared_join_storage, left_header, right_header, planner_context->getQueryContext(), std::move(hash_table_stat_cache_key));
|
||||
auto result_plan = QueryPlan();
|
||||
|
||||
bool is_filled_join = join_algorithm->isFilled();
|
||||
|
@ -394,6 +394,8 @@ PreparedJoinStorage tryGetStorageInTableJoin(const QueryTreeNodePtr & table_expr
|
||||
storage = table_node->getStorage();
|
||||
else if (auto * table_function = table_expression->as<TableFunctionNode>())
|
||||
storage = table_function->getStorage();
|
||||
else
|
||||
return {};
|
||||
|
||||
PreparedJoinStorage result;
|
||||
const auto & table_expression_data = planner_context->getTableExpressionDataOrThrow(table_expression);
|
||||
|
Loading…
Reference in New Issue
Block a user