From c3707dbdee09e4a1bca1f77531e0cd5e63dd93ba Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 29 Nov 2024 20:52:19 +0800 Subject: [PATCH] branch-2.1: [Enhancement](function) Print exact column name when execute non_nullable failed #44679 (#44742) Cherry-picked from #44679 Co-authored-by: zclllhhjj --- be/src/vec/functions/function_nullables.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/be/src/vec/functions/function_nullables.cpp b/be/src/vec/functions/function_nullables.cpp index 0fdcfbc217..532dc7097c 100644 --- a/be/src/vec/functions/function_nullables.cpp +++ b/be/src/vec/functions/function_nullables.cpp @@ -96,7 +96,7 @@ public: if (col_null->has_null()) [[unlikely]] { return Status::InvalidArgument( "There's NULL value in column {} which is illegal for non_nullable", - data.column->get_name()); + data.name); } const ColumnPtr& nest_col = col_null->get_nested_column_ptr(); block.replace_by_position(result, nest_col->clone_resized(nest_col->size()));