Merge pull request #16071 from hczhcz/patch-1

Change error message in function if & ifNull
This commit is contained in:
alexey-milovidov 2020-10-24 07:40:22 +03:00 committed by GitHub
commit 32e0de5121
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -159,7 +159,7 @@ struct NumIfImpl<A, B, NumberTraits::Error>
private:
[[noreturn]] static void throwError()
{
throw Exception("Invalid types of arguments 2 and 3 of if", ErrorCodes::ILLEGAL_TYPE_OF_ARGUMENT);
throw Exception("Incompatible types of arguments corresponding to two conditional branches", ErrorCodes::ILLEGAL_TYPE_OF_ARGUMENT);
}
public:
template <typename... Args> static ColumnPtr vectorVector(Args &&...) { throwError(); }