mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 10:52:30 +00:00
Update src/Functions/substringIndex.cpp
Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>
This commit is contained in:
parent
40ded2eca0
commit
f049914c2f
@ -57,7 +57,7 @@ namespace
|
||||
arguments[1]->getName(),
|
||||
getName());
|
||||
|
||||
if (!isNativeNumber(arguments[2]))
|
||||
if (!isNativeInteger(arguments[2]))
|
||||
throw Exception(
|
||||
ErrorCodes::ILLEGAL_TYPE_OF_ARGUMENT,
|
||||
"Illegal type {} of third argument of function {}",
|
||||
|
Loading…
Reference in New Issue
Block a user