From 073379627c7617a5e37f9130a6a19a77967e97f2 Mon Sep 17 00:00:00 2001 From: sundyli <543950155@qq.com> Date: Wed, 13 Jan 2021 20:47:40 +0800 Subject: [PATCH] Update FunctionsBitmap.h --- src/Functions/FunctionsBitmap.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Functions/FunctionsBitmap.h b/src/Functions/FunctionsBitmap.h index cd5e23acbf3..b02ec3e83e7 100644 --- a/src/Functions/FunctionsBitmap.h +++ b/src/Functions/FunctionsBitmap.h @@ -290,7 +290,7 @@ public: if (!(which.isUInt8() || which.isUInt16() || which.isUInt32() || which.isUInt64())) { throw Exception( - "The second or third argument for function " + getName() + " must be one of [UInt8, UInt16, UInt32, UInt64] but it has type " + arguments[1]->getName() + ".", + "The second and third arguments for function " + getName() + " must be one of [UInt8, UInt16, UInt32, UInt64] but it has type " + arguments[1]->getName() + ".", ErrorCodes::ILLEGAL_TYPE_OF_ARGUMENT); } } @@ -428,7 +428,7 @@ public: for (size_t i = 0; i < 2; ++i) { const auto * array_type = typeid_cast(arguments[i + 1].get()); - String msg = "The second or third argument for function " + getName() + " must be an one of [Array(UInt8), Array(UInt16), Array(UInt32), Array(UInt64)] but it has type " + arguments[i + 1]->getName() + "."; + String msg = "The second and third arguments for function " + getName() + " must be an one of [Array(UInt8), Array(UInt16), Array(UInt32), Array(UInt64)] but it has type " + arguments[i + 1]->getName() + "."; if (!array_type) throw Exception(msg, ErrorCodes::ILLEGAL_TYPE_OF_ARGUMENT);