mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 09:32:01 +00:00
Merge pull request #38306 from ClickHouse/Avogar-patch-1
Fix misleading error message while s3 schema inference
This commit is contained in:
commit
a8757881da
@ -1151,7 +1151,7 @@ ColumnsDescription StorageS3::getTableStructureFromDataImpl(
|
||||
auto file_iterator
|
||||
= createFileIterator(s3_configuration, {s3_configuration.uri.key}, is_key_with_globs, distributed_processing, ctx, nullptr, {});
|
||||
|
||||
ReadBufferIterator read_buffer_iterator = [&, first = false]() mutable -> std::unique_ptr<ReadBuffer>
|
||||
ReadBufferIterator read_buffer_iterator = [&, first = true]() mutable -> std::unique_ptr<ReadBuffer>
|
||||
{
|
||||
auto key = (*file_iterator)();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user