Fix typo in read prefetch

This commit is contained in:
Nikita Taranov 2023-02-21 12:27:08 +01:00 committed by GitHub
parent 17959538d8
commit 593de3416b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -350,7 +350,7 @@ Pipe ReadFromMergeTree::readFromPool(
&& MergeTreePrefetchedReadPool::checkReadMethodAllowed(reader_settings.read_settings.remote_fs_method))
|| (!all_parts_are_local
&& settings.allow_prefetched_read_pool_for_local_filesystem
&& MergeTreePrefetchedReadPool::checkReadMethodAllowed(reader_settings.read_settings.remote_fs_method)))
&& MergeTreePrefetchedReadPool::checkReadMethodAllowed(reader_settings.read_settings.local_fs_method)))
{
pool = std::make_shared<MergeTreePrefetchedReadPool>(
max_streams,