mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Fix bug URL engine
This commit is contained in:
parent
437940b29d
commit
7baf23f35f
@ -479,10 +479,11 @@ ColumnsDescription IStorageURLBase::getTableStructureFromData(
|
||||
}
|
||||
else
|
||||
{
|
||||
auto parsed_uri = Poco::URI(uri);
|
||||
StorageURLSource::setCredentials(credentials, parsed_uri);
|
||||
read_buffer_creator = [&]()
|
||||
{
|
||||
auto parsed_uri = Poco::URI(uri);
|
||||
StorageURLSource::setCredentials(credentials, parsed_uri);
|
||||
|
||||
return wrapReadBufferWithCompressionMethod(
|
||||
std::make_unique<ReadWriteBufferFromHTTP>(
|
||||
parsed_uri,
|
||||
|
Loading…
Reference in New Issue
Block a user