This is an automated email from the ASF dual-hosted git repository. morningman pushed a commit to branch dev-1.0.1 in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
commit 6d50e988c3d1e98427595e04aaf7659f54e68556 Author: Pxl <[email protected]> AuthorDate: Tue Apr 26 10:24:11 2022 +0800 [fix](Lateral-View)(Vectorized) core dump on lateral-view with nullable column (#9191) --- be/src/vec/core/block.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/be/src/vec/core/block.h b/be/src/vec/core/block.h index 5b543dd8ff..9bc86c4533 100644 --- a/be/src/vec/core/block.h +++ b/be/src/vec/core/block.h @@ -118,7 +118,7 @@ public: raw_res_ptr->reserve(batch_size); // adapt for outer join change column to nullable - if (raw_res_ptr->is_nullable()) { + if (raw_res_ptr->is_nullable() && !input_col_ptr->is_nullable()) { auto col_ptr_nullable = reinterpret_cast<vectorized::ColumnNullable*>(raw_res_ptr.get()); col_ptr_nullable->get_null_map_column().insert_many_defaults(select_size); --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
