[fix](eq_for_null) fix incorrect logic in function eq_for_null #36004 (#36124)

cherry pick from #36004
cherry pick from #36164
This commit is contained in:
zhiqiang
2024-06-21 14:31:21 +08:00
committed by GitHub
parent 8105dc7de8
commit c8f2a3f952
3 changed files with 748 additions and 40 deletions

View File

@ -179,7 +179,7 @@ Status PreparedFunctionImpl::default_implementation_for_constant_arguments(
} else {
result_column = temporary_block.get_by_position(arguments_size).column;
}
// We shuold handle the case where the result column is also a ColumnConst.
block.get_by_position(result).column = ColumnConst::create(result_column, input_rows_count);
*executed = true;
return Status::OK();