do not read right for shared hj when left is empty
This commit is contained in:
parent
7e801ab630
commit
f7732c8b54
@ -630,7 +630,7 @@ int ObHashJoinVecOp::process_left(bool &need_not_read_right)
|
||||
}
|
||||
|
||||
if (OB_SUCC(ret)
|
||||
&& !is_shared_
|
||||
&& (!is_shared_ || 0 == cur_join_table_->get_row_count())
|
||||
&& ((0 == num_left_rows
|
||||
&& RIGHT_ANTI_JOIN != MY_SPEC.join_type_
|
||||
&& RIGHT_OUTER_JOIN != MY_SPEC.join_type_
|
||||
|
@ -1834,7 +1834,7 @@ int ObHashJoinOp::in_memory_process(bool &need_not_read_right)
|
||||
LOG_WARN("failed to build hash table", K(ret), K(part_level_));
|
||||
}
|
||||
if (OB_SUCC(ret)
|
||||
&& !is_shared_
|
||||
&& (!is_shared_ || 0 == cur_hash_table_->row_count_)
|
||||
&& ((0 == num_left_rows
|
||||
&& RIGHT_ANTI_JOIN != MY_SPEC.join_type_
|
||||
&& RIGHT_OUTER_JOIN != MY_SPEC.join_type_
|
||||
@ -3630,7 +3630,7 @@ int ObHashJoinOp::recursive_process(bool &need_not_read_right)
|
||||
LOG_WARN("failed to build hash table", K(ret), K(part_level_));
|
||||
}
|
||||
if (OB_SUCC(ret)
|
||||
&& !is_shared_
|
||||
&& (!is_shared_ || 0 == cur_hash_table_->row_count_)
|
||||
&& ((0 == num_left_rows
|
||||
&& RIGHT_ANTI_JOIN != MY_SPEC.join_type_
|
||||
&& RIGHT_OUTER_JOIN != MY_SPEC.join_type_
|
||||
|
Loading…
x
Reference in New Issue
Block a user