Fix the bug of using wrong table id when building part join filter expr id

This commit is contained in:
qianchanger
2023-04-01 11:11:13 +00:00
committed by ob-robot
parent 0db53e359a
commit a486fed522
4 changed files with 56 additions and 51 deletions

View File

@ -3702,7 +3702,6 @@ int ObLogicalOperator::allocate_granule_nodes_above(AllocGIContext &ctx)
gi_op->set_tablet_id_expr(tablet_id_expr);
gi_op->set_join_filter_info(table_scan->get_join_filter_info());
gi_op->add_flag(GI_USE_PARTITION_FILTER);
table_scan->set_tablet_id_expr(tablet_id_expr);
}
} else if (LOG_GROUP_BY == get_type()) {
if (static_cast<ObLogGroupBy*>(this)->force_partition_gi()) {