@ -235,7 +235,7 @@ int check_list_value_duplicate(T **partition_array,
|
||||
!ObSQLUtils::is_same_type_for_compare(tmp_row.get_cell(z).get_meta(),
|
||||
row.get_cell(z).get_meta())) {
|
||||
ret = OB_ERR_PARTITION_VALUE_ERROR;
|
||||
LOG_WARN("partiton value should have same meta info", K(ret), K(tmp_row), K(row), K(j));
|
||||
LOG_WARN("partition value should have same meta info", K(ret), K(tmp_row), K(row), K(j));
|
||||
}
|
||||
}
|
||||
if (OB_SUCC(ret) && tmp_row == row) {
|
||||
@ -634,7 +634,7 @@ int ObPartitionExecutorUtils::check_increasing_range_value(T **array,
|
||||
&& !rowkey_cur->get_obj_ptr()[j].is_max_value()
|
||||
&& !rowkey_last->get_obj_ptr()[j].is_max_value()) {
|
||||
ret = OB_ERR_PARTITION_VALUE_ERROR;
|
||||
LOG_WARN("partiton value should have same meta info", K(ret), K(*rowkey_cur), K(*rowkey_last), K(j));
|
||||
LOG_WARN("partition value should have same meta info", K(ret), K(*rowkey_cur), K(*rowkey_last), K(j));
|
||||
} else if (rowkey_cur->get_obj_ptr()[j].is_max_value() &&
|
||||
rowkey_last->get_obj_ptr()[j].is_max_value()) {
|
||||
need_check_maxvalue = true;
|
||||
|
||||
@ -2045,7 +2045,7 @@ int ObHashJoinOp::asyn_dump_partition(
|
||||
LOG_TRACE("debug dump partition", K(is_left), K(start_dumped_part_idx),
|
||||
K(last_dumped_partition_idx), K(cur_dumped_partition_),
|
||||
K(pre_total_dumped_size), K(dumped_size), K(dump_all), K(lbt()));
|
||||
// secondly dump one buffer per partiton one by one
|
||||
// secondly dump one buffer per partition one by one
|
||||
bool finish_dump = false;
|
||||
while (OB_SUCC(ret) && !finish_dump) {
|
||||
finish_dump = true;
|
||||
@ -3991,7 +3991,7 @@ int ObHashJoinOp::insert_batch_row(const int64_t cur_partition_in_memory)
|
||||
{
|
||||
int ret = OB_SUCCESS;
|
||||
bool need_material = true;
|
||||
bool dumped_partiton = false;
|
||||
bool dumped_partition = false;
|
||||
ObHashJoinStoredJoinRow *stored_row = nullptr;
|
||||
const int64_t part_idx = get_part_idx(cur_right_hash_value_);
|
||||
if (part_idx < cur_partition_in_memory) {
|
||||
@ -4003,14 +4003,14 @@ int ObHashJoinOp::insert_batch_row(const int64_t cur_partition_in_memory)
|
||||
}
|
||||
}
|
||||
} else {
|
||||
dumped_partiton = true;
|
||||
dumped_partition = true;
|
||||
}
|
||||
if (!need_material) {
|
||||
} else if (nullptr != right_read_row_) {
|
||||
if (OB_FAIL(right_hj_part_array_[part_idx].add_row(right_read_row_, stored_row))) {
|
||||
LOG_WARN("fail to add row", K(ret));
|
||||
} else {
|
||||
if (!dumped_partiton && right_hj_part_array_[part_idx].has_switch_block()) {
|
||||
if (!dumped_partition && right_hj_part_array_[part_idx].has_switch_block()) {
|
||||
cur_full_right_partition_ = part_idx;
|
||||
cur_left_hist_ = &part_histograms_[cur_full_right_partition_];
|
||||
}
|
||||
@ -4021,7 +4021,7 @@ int ObHashJoinOp::insert_batch_row(const int64_t cur_partition_in_memory)
|
||||
LOG_WARN("fail to add row", K(ret));
|
||||
} else {
|
||||
stored_row->set_hash_value(cur_right_hash_value_);
|
||||
if (!dumped_partiton && right_hj_part_array_[part_idx].has_switch_block()) {
|
||||
if (!dumped_partition && right_hj_part_array_[part_idx].has_switch_block()) {
|
||||
cur_full_right_partition_ = part_idx;
|
||||
cur_left_hist_ = &part_histograms_[cur_full_right_partition_];
|
||||
// need right to probe, it may return left and right data, so it need save temporarily
|
||||
@ -4163,7 +4163,7 @@ int ObHashJoinOp::get_next_batch_right_rows()
|
||||
has_fill_left_row_ = false;
|
||||
if (OB_ITER_END == ret) {
|
||||
ret = OB_SUCCESS;
|
||||
// probe left all right rows from 0 partition to last partiton
|
||||
// probe left all right rows from 0 partition to last partition
|
||||
cur_full_right_partition_ = -1;
|
||||
LOG_DEBUG("debug partition start", K(cur_full_right_partition_));
|
||||
if (!enable_batch_) {
|
||||
|
||||
@ -90,7 +90,7 @@ int ObRecursiveUnionAllOp::inner_open()
|
||||
} else if (OB_ISNULL(op_kit = ctx_.get_operator_kit(MY_SPEC.pump_operator_id_))
|
||||
|| OB_ISNULL(op_kit->op_)) {
|
||||
ret = OB_ERR_UNEXPECTED;
|
||||
LOG_WARN("get ObOperater from exec ctx failed", K(MY_SPEC.pump_operator_id_), K(op_kit), K(MY_SPEC.search_expr_), K(MY_SPEC.strategy_));
|
||||
LOG_WARN("get ObOperator from exec ctx failed", K(MY_SPEC.pump_operator_id_), K(op_kit), K(MY_SPEC.search_expr_), K(MY_SPEC.strategy_));
|
||||
} else {
|
||||
inner_data_.set_left_child(left_);
|
||||
inner_data_.set_right_child(right_);
|
||||
|
||||
@ -40,7 +40,7 @@ int ObTableScanWithIndexBackOp::inner_open()
|
||||
if (OB_ISNULL(op_kit = ctx_.get_operator_kit(MY_SPEC.get_index_scan_tree_id()))
|
||||
|| OB_ISNULL(op_kit->op_)) {
|
||||
ret = OB_ERR_UNEXPECTED;
|
||||
LOG_WARN("get ObOperater from exec ctx failed", K(MY_SPEC.get_index_scan_tree_id()));
|
||||
LOG_WARN("get ObOperator from exec ctx failed", K(MY_SPEC.get_index_scan_tree_id()));
|
||||
} else if (FALSE_IT(index_scan_tree_ = op_kit->op_)) {
|
||||
} else if (OB_FAIL(prepare_scan_param())) {
|
||||
if (OB_ITER_END != ret) {
|
||||
|
||||
Reference in New Issue
Block a user