You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by yi...@apache.org on 2023/07/08 14:25:20 UTC
[doris] 02/04: add exec node id and column info
This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-1.2-lts
in repository https://gitbox.apache.org/repos/asf/doris.git
commit 5b3eeb49f0a25c6669eb8396b6e57cf5af63b134
Author: yiguolei <yi...@gmail.com>
AuthorDate: Fri Jul 7 17:10:13 2023 +0800
add exec node id and column info
---
be/src/vec/exec/join/vjoin_node_base.cpp | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/be/src/vec/exec/join/vjoin_node_base.cpp b/be/src/vec/exec/join/vjoin_node_base.cpp
index 869a50381e..8a2232691f 100644
--- a/be/src/vec/exec/join/vjoin_node_base.cpp
+++ b/be/src/vec/exec/join/vjoin_node_base.cpp
@@ -140,6 +140,11 @@ Status VJoinNodeBase::_build_output_block(Block* origin_block, Block* output_blo
RETURN_IF_ERROR(_output_expr_ctxs[i]->execute(origin_block, &result_column_id));
auto column_ptr = origin_block->get_by_position(result_column_id)
.column->convert_to_full_column_if_const();
+ // check nullable here, and print more info about plan
+ if (!mutable_columns[i]->is_nullable() && column_ptr->is_nullable()) {
+ LOG(FATAL) << "to is not nullable while from is nullable, could not copy. i = "
+ << i << ", exec_node_id = " << _id;
+ }
insert_column_datas(mutable_columns[i], *column_ptr, rows);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org