[enhance](function) refactor from_format_str and support more format (#30452)

This commit is contained in:
zclllyybb
2024-02-01 19:07:54 +08:00
committed by yiguolei
parent fb0d712096
commit 3315c16383
15 changed files with 370 additions and 367 deletions

View File

@ -700,7 +700,7 @@ Status execute_bitmap_op_count_null_to_zero(
size_t input_rows_count,
const std::function<Status(FunctionContext*, Block&, const ColumnNumbers&, size_t, size_t)>&
exec_impl_func) {
if (get_null_presence(block, arguments)) {
if (have_null_column(block, arguments)) {
auto [temporary_block, new_args, new_result] =
create_block_with_nested_columns(block, arguments, result);
RETURN_IF_ERROR(exec_impl_func(context, temporary_block, new_args, new_result,