Skip to content

Commit

Permalink
[fix](Lateral-View)(Vectorized) core dump on lateral-view with nullab…
Browse files Browse the repository at this point in the history
…le column (apache#9191)
  • Loading branch information
BiteTheDDDDt committed Apr 26, 2022
1 parent da4e7ec commit 951c2a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion be/src/vec/core/block.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class Block {
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);
Expand Down

0 comments on commit 951c2a9

Please sign in to comment.