Skip to content

Commit

Permalink
Fix build due to ClickHouse/ClickHouse#73281
Browse files Browse the repository at this point in the history
  • Loading branch information
baibaichen committed Dec 18, 2024
1 parent e2562f9 commit 490826a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<DB::AsynchronousBoundedReadBuffer>(std::move(s3_impl), pool_reader, read_settings, buffer_size);

= std::make_unique<DB::AsynchronousBoundedReadBuffer>(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{});

Expand Down

0 comments on commit 490826a

Please sign in to comment.