From 87f56914e940c12320ffe31ae6da7d40143eb2be Mon Sep 17 00:00:00 2001 From: Gabriel Date: Mon, 8 Aug 2022 15:54:09 +0800 Subject: [PATCH] [Improvement](debug message) add necessary info to DCHECK message (#11586) --- be/src/vec/functions/function.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/be/src/vec/functions/function.h b/be/src/vec/functions/function.h index 8dd9991f18..9e00f36a33 100644 --- a/be/src/vec/functions/function.h +++ b/be/src/vec/functions/function.h @@ -320,7 +320,8 @@ public: ? ((DataTypeNullable*)get_return_type(arguments).get()) ->get_nested_type() : get_return_type(arguments)))) - << " with " << return_type->get_name() << " and " << func_return_type->get_name(); + << " for function '" << this->get_name() << "' with " << return_type->get_name() + << " and " << func_return_type->get_name(); return build_impl(arguments, return_type); }