mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-02 20:42:04 +00:00
fix
This commit is contained in:
parent
d0eb22a1cd
commit
68aeb39892
@ -552,7 +552,7 @@ StorageS3Source::StorageS3Source(
|
||||
, create_reader_scheduler(threadPoolCallbackRunner<ReaderHolder>(create_reader_pool, "CreateS3Reader"))
|
||||
{
|
||||
reader = createReader();
|
||||
if (reader ||
|
||||
if (reader ||
|
||||
(reader.getReadMode() == StorageS3Source::ReaderHolder::ONLY_VIRTUAL_COLUMNS &&
|
||||
!reader.isFinishedForOnlyVirtualColumns()))
|
||||
reader_future = createReaderAsync();
|
||||
@ -756,7 +756,7 @@ Chunk StorageS3Source::generate()
|
||||
assert(reader_future.valid());
|
||||
reader = reader_future.get();
|
||||
|
||||
if ((!reader &&
|
||||
if ((!reader &&
|
||||
reader.getReadMode() == ReaderHolder::ALL) ||
|
||||
(reader.getReadMode() == ReaderHolder::ONLY_VIRTUAL_COLUMNS &&
|
||||
reader.isFinishedForOnlyVirtualColumns()))
|
||||
|
Loading…
Reference in New Issue
Block a user