Update FunctionsHashing.h

This commit is contained in:
alexey-milovidov 2019-12-06 22:18:47 +03:00 committed by GitHub
parent 6799feaba6
commit e0aa12717b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -858,11 +858,8 @@ private:
else if (which.isString()) executeString<first>(icolumn, vec_to);
else if (which.isFixedString()) executeString<first>(icolumn, vec_to);
else if (which.isArray()) executeArray<first>(from_type, icolumn, vec_to);
else if (which.isDecimal()) executeGeneric<first>(icolumn, vec_to);
else if (which.isUUID()) executeGeneric<first>(icolumn, vec_to);
else
throw Exception("Unexpected type " + from_type->getName() + " of argument of function " + getName(),
ErrorCodes::ILLEGAL_TYPE_OF_ARGUMENT);
executeGeneric<first>(icolumn, vec_to);
}
void executeForArgument(const IDataType * type, const IColumn * column, typename ColumnVector<ToType>::Container & vec_to, bool & is_first)