Skip to content

Commit

Permalink
[Enhancement](function) Print exact column name when execute non_null…
Browse files Browse the repository at this point in the history
…able failed (apache#44679)

### What problem does this PR solve?
Before it print the column type. now more precisely print the column
name
  • Loading branch information
zclllyybb authored Nov 28, 2024
1 parent 1ae91b8 commit 51ad321
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion be/src/vec/functions/function_nullables.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class FunctionNonNullable : public IFunction {
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()));
Expand Down

0 comments on commit 51ad321

Please sign in to comment.