This is an automated email from the ASF dual-hosted git repository. zhangstar333 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push: new 51ad321b84c [Enhancement](function) Print exact column name when execute non_nullable failed (#44679) 51ad321b84c is described below commit 51ad321b84cf211efd63415a1052e2f72a3415c5 Author: zclllhhjj <zhaochan...@selectdb.com> AuthorDate: Thu Nov 28 18:24:16 2024 +0800 [Enhancement](function) Print exact column name when execute non_nullable failed (#44679) ### What problem does this PR solve? Before it print the column type. now more precisely print the column name --- 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 88bb2b38fab..91bce24f48f 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())); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org