Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
Signed-off-by: xufei <xufei@pingcap.com>
  • Loading branch information
windtalker committed Jan 12, 2023
1 parent 1bcfd34 commit 8cb2d13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbms/src/Flash/tests/gtest_spill_sort.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ try
.scan("spill_sort_test", "simple_table")
.topN(order_by_items, limit_size)
.build(context);
context.context.setSetting("max_block_size", Field(max_block_size));
context.context.setSetting("max_block_size", Field(static_cast<UInt64>(max_block_size)));
/// disable spill
context.context.setSetting("max_bytes_before_external_sort", Field(static_cast<UInt64>(0)));
auto ref_columns = executeStreams(request, original_max_streams);
Expand Down

0 comments on commit 8cb2d13

Please sign in to comment.