diff --git a/src/Planner/PlannerJoinTree.cpp b/src/Planner/PlannerJoinTree.cpp index 1e4c51dda59..53d61fd2eb8 100644 --- a/src/Planner/PlannerJoinTree.cpp +++ b/src/Planner/PlannerJoinTree.cpp @@ -526,7 +526,7 @@ FilterDAGInfo buildAdditionalFiltersIfNeeded(const StoragePtr & storage, return buildFilterInfo(additional_filter_ast, table_expression_query_info.table_expression, planner_context); } -static UInt64 mainQueryNodeBlockSizeByLimit(const SelectQueryInfo & select_query_info) +UInt64 mainQueryNodeBlockSizeByLimit(const SelectQueryInfo & select_query_info) { auto const & main_query_node = select_query_info.query_tree->as();