mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-11 17:02:25 +00:00
fix
This commit is contained in:
parent
b5fd23358f
commit
d0eb22a1cd
@ -553,7 +553,7 @@ StorageS3Source::StorageS3Source(
|
|||||||
{
|
{
|
||||||
reader = createReader();
|
reader = createReader();
|
||||||
if (reader ||
|
if (reader ||
|
||||||
(reader.getReadMode() == StorageS3Source::ReaderHolder::ONLY_VIRTUAL_COLUMNS &&
|
(reader.getReadMode() == StorageS3Source::ReaderHolder::ONLY_VIRTUAL_COLUMNS &&
|
||||||
!reader.isFinishedForOnlyVirtualColumns()))
|
!reader.isFinishedForOnlyVirtualColumns()))
|
||||||
reader_future = createReaderAsync();
|
reader_future = createReaderAsync();
|
||||||
}
|
}
|
||||||
@ -758,7 +758,7 @@ Chunk StorageS3Source::generate()
|
|||||||
|
|
||||||
if ((!reader &&
|
if ((!reader &&
|
||||||
reader.getReadMode() == ReaderHolder::ALL) ||
|
reader.getReadMode() == ReaderHolder::ALL) ||
|
||||||
(reader.getReadMode() == ReaderHolder::ONLY_VIRTUAL_COLUMNS &&
|
(reader.getReadMode() == ReaderHolder::ONLY_VIRTUAL_COLUMNS &&
|
||||||
reader.isFinishedForOnlyVirtualColumns()))
|
reader.isFinishedForOnlyVirtualColumns()))
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user