We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88548eb commit 21ab0e4Copy full SHA for 21ab0e4
src/Storages/StorageS3.cpp
@@ -207,7 +207,7 @@ class StorageS3Source::DisclosedGlobIterator::Impl : WithContext
207
, list_objects_scheduler(threadPoolCallbackRunner<ListObjectsOutcome>(list_objects_pool, "ListObjects"))
208
, file_progress_callback(file_progress_callback_)
209
{
210
- if (globbed_uri.bucket.find_first_of("*?{") != globbed_uri.bucket.npos)
+ if (globbed_uri.bucket.find_first_of("*?{") != std::string::npos)
211
throw Exception(ErrorCodes::UNEXPECTED_EXPRESSION, "Expression can not have wildcards inside bucket name");
212
213
const String key_prefix = globbed_uri.key.substr(0, globbed_uri.key.find_first_of("*?{"));
0 commit comments