This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-2.1 by this push:
     new c3707dbdee0 branch-2.1: [Enhancement](function) Print exact column 
name when execute non_nullable failed #44679 (#44742)
c3707dbdee0 is described below

commit c3707dbdee09e4a1bca1f77531e0cd5e63dd93ba
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Nov 29 20:52:19 2024 +0800

    branch-2.1: [Enhancement](function) Print exact column name when execute 
non_nullable failed #44679 (#44742)
    
    Cherry-picked from #44679
    
    Co-authored-by: zclllhhjj <zhaochan...@selectdb.com>
---
 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 0fdcfbc2175..532dc7097c1 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

Reply via email to