From 8cd5543bdafbc3dcc0a6a557bdd1cf1d4d47edca Mon Sep 17 00:00:00 2001 From: Chang Chen Date: Wed, 18 Dec 2024 10:11:13 +0800 Subject: [PATCH] Fix build due to https://github.com/ClickHouse/ClickHouse/pull/73281 --- .../Storages/SubstraitSource/ReadBufferBuilder.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cpp-ch/local-engine/Storages/SubstraitSource/ReadBufferBuilder.cpp b/cpp-ch/local-engine/Storages/SubstraitSource/ReadBufferBuilder.cpp index 3dd0d1127f107..87cb894999a84 100644 --- a/cpp-ch/local-engine/Storages/SubstraitSource/ReadBufferBuilder.cpp +++ b/cpp-ch/local-engine/Storages/SubstraitSource/ReadBufferBuilder.cpp @@ -429,8 +429,7 @@ class S3FileReadBufferBuilder : public ReadBufferBuilder if (object_size > 0) buffer_size = std::min(object_size, buffer_size); auto async_reader - = std::make_unique(std::move(s3_impl), pool_reader, read_settings, buffer_size); - + = std::make_unique(std::move(s3_impl), pool_reader, read_settings, buffer_size,read_settings.remote_read_min_bytes_for_seek); if (read_settings.remote_fs_prefetch) async_reader->prefetch(Priority{});