Update src/Functions/substringIndex.cpp

Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>
This commit is contained in:
李扬 2023-06-29 10:19:48 +08:00 committed by GitHub
parent a005b5d0c8
commit a35476ee13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,7 @@ namespace
if (!isNativeInteger(arguments[2]))
throw Exception(
ErrorCodes::ILLEGAL_TYPE_OF_ARGUMENT,
"Illegal type {} of third argument of function {}",
"Illegal type {} of third argument of function {}, Integer expected",
arguments[2]->getName(),
getName());