diff --git a/src/Functions/if.cpp b/src/Functions/if.cpp index 6e77486c2af..d7afe6db8e0 100644 --- a/src/Functions/if.cpp +++ b/src/Functions/if.cpp @@ -159,7 +159,7 @@ struct NumIfImpl 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 static ColumnPtr vectorVector(Args &&...) { throwError(); }