Add assert src/Storages/StorageURL.cpp

This commit is contained in:
vdimir 2024-08-26 16:55:45 +02:00 committed by GitHub
parent e1e692a968
commit e7d17573e1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -453,6 +453,7 @@ Chunk StorageURLSource::generate()
.size = current_file_size,
},
getContext());
chassert(dynamic_cast<ReadWriteBufferFromHTTP *>(read_buf.get()));
if (need_headers_virtual_column)
{
if (!http_response_headers_initialized)