diff --git a/cpp-ch/local-engine/Storages/SubstraitSource/ReadBufferBuilder.cpp b/cpp-ch/local-engine/Storages/SubstraitSource/ReadBufferBuilder.cpp index 3dd0d1127f10..87cb894999a8 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{});