Skip to content

Commit

Permalink
[CH] Use max_block_size controller read mergetree bolck size
Browse files Browse the repository at this point in the history
  • Loading branch information
loneylee committed Nov 10, 2023
1 parent 3ecf596 commit 0118bec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp-ch/local-engine/Parser/SerializedPlanParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ DB::QueryPlanPtr SerializedPlanParser::parseMergeTreeTable(const substrait::Read
query_context.storage_snapshot,
*query_info,
context,
4096 * 2,
context->getSettingsRef().max_block_size,
1);
QueryPlanPtr query = std::make_unique<QueryPlan>();
steps.emplace_back(read_step.get());
Expand Down

0 comments on commit 0118bec

Please sign in to comment.