minor: fix message for base64

This commit is contained in:
zvonand 2022-06-20 20:13:09 +05:00
parent 9c6b2b9ba0
commit d4e5686b99

View File

@ -85,7 +85,7 @@ public:
{
if (!WhichDataType(arguments[0].type).isString())
throw Exception(
"Illegal type " + arguments[0].type->getName() + " of 1 argument of function " + getName() + ". Must be String.",
"Illegal type " + arguments[0].type->getName() + " of 1st argument of function " + getName() + ". Must be String.",
ErrorCodes::ILLEGAL_TYPE_OF_ARGUMENT);
return std::make_shared<DataTypeString>();
@ -98,7 +98,7 @@ public:
if (!input)
throw Exception(
"Illegal column " + arguments[0].column->getName() + " of first argument of function " + getName(),
"Illegal column " + arguments[0].column->getName() + " of first argument of function " + getName() + ", must be of type String",
ErrorCodes::ILLEGAL_COLUMN);
auto dst_column = ColumnString::create();