mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 09:32:01 +00:00
parent
ca4fa430b3
commit
3eca59d62d
@ -1400,7 +1400,9 @@ const Block & Context::getScalar(const String & name) const
|
||||
auto it = scalars.find(name);
|
||||
if (scalars.end() == it)
|
||||
{
|
||||
throw Exception(ErrorCodes::LOGICAL_ERROR, "Scalar {} doesn't exist (internal bug)", backQuoteIfNeed(name));
|
||||
// This should be a logical error, but it fails the sql_fuzz test too
|
||||
// often, so 'bad arguments' for now.
|
||||
throw Exception(ErrorCodes::BAD_ARGUMENTS, "Scalar {} doesn't exist (internal bug)", backQuoteIfNeed(name));
|
||||
}
|
||||
return it->second;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user