From a19a9dab4ddbb1eb97eadf8155695a148f0d4e1c Mon Sep 17 00:00:00 2001 From: obdev Date: Fri, 20 Sep 2024 07:09:46 +0000 Subject: [PATCH] Placeholder for hash join build row output --- src/sql/engine/join/hash_join/ob_hash_join_vec_op.cpp | 6 ++++-- src/sql/engine/join/hash_join/ob_hash_join_vec_op.h | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/sql/engine/join/hash_join/ob_hash_join_vec_op.cpp b/src/sql/engine/join/hash_join/ob_hash_join_vec_op.cpp index 8834b0b9a..48c782ab3 100644 --- a/src/sql/engine/join/hash_join/ob_hash_join_vec_op.cpp +++ b/src/sql/engine/join/hash_join/ob_hash_join_vec_op.cpp @@ -112,7 +112,8 @@ ObHashJoinVecSpec::ObHashJoinVecSpec(common::ObIAllocator &alloc, const ObPhyOpe is_naaj_(false), is_sna_(false), is_shared_ht_(false), - is_ns_equal_cond_(alloc) + is_ns_equal_cond_(alloc), + build_rows_output_(alloc) { } @@ -127,7 +128,8 @@ OB_SERIALIZE_MEMBER((ObHashJoinVecSpec, ObJoinVecSpec), is_sna_, is_shared_ht_, is_ns_equal_cond_, - jf_material_control_info_); + jf_material_control_info_, + build_rows_output_); ObHashJoinVecOp::ObHashJoinVecOp(ObExecContext &ctx_, const ObOpSpec &spec, ObOpInput *input) : ObJoinVecOp(ctx_, spec, input), diff --git a/src/sql/engine/join/hash_join/ob_hash_join_vec_op.h b/src/sql/engine/join/hash_join/ob_hash_join_vec_op.h index bbd0d5fa2..89571daee 100644 --- a/src/sql/engine/join/hash_join/ob_hash_join_vec_op.h +++ b/src/sql/engine/join/hash_join/ob_hash_join_vec_op.h @@ -301,6 +301,8 @@ public: // record which equal cond is null safe equal common::ObFixedArray is_ns_equal_cond_; ObJoinFilterMaterialControlInfo jf_material_control_info_; + // record build row expr, because has key not in left output + ExprFixedArray build_rows_output_; }; // hash join has no expression result overwrite problem: