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 5a78c65 commit 8ea193eCopy full SHA for 8ea193e
src/Functions/map.cpp
@@ -179,7 +179,7 @@ class FunctionMapFromArrays : public IFunction
179
if (const auto * keys_type = checkAndGetDataType<DataTypeArray>(arguments[0].get()))
180
key_type = keys_type->getNestedType();
181
else
182
- throw Exception(ErrorCodes::ILLEGAL_TYPE_OF_ARGUMENT, "First argument for function {} must be Array or Map", getName());
+ throw Exception(ErrorCodes::ILLEGAL_TYPE_OF_ARGUMENT, "First argument for function {} must be an Array", getName());
183
184
DataTypePtr value_type;
185
if (const auto * value_array_type = checkAndGetDataType<DataTypeArray>(arguments[1].get()))
0 commit comments