merge develop into master 20240312

This commit is contained in:
hnwyllmm
2024-03-14 09:56:28 +00:00
committed by ob-robot
parent 668b1289ad
commit 68a433ea37
12 changed files with 1045 additions and 39 deletions

View File

@ -8157,11 +8157,6 @@ int ObStaticEngineCG::get_phy_op_type(ObLogicalOperator &log_op,
type = PHY_PX_DIST_TRANSMIT;
} else if (op.get_plan()->get_optimizer_context().is_online_ddl() && ObPQDistributeMethod::PARTITION_RANGE == op.get_dist_method()) {
type = PHY_PX_REPART_TRANSMIT;
} else if (OB_REPARTITION_NO_REPARTITION != op.get_repartition_type()
&& !op.is_slave_mapping()) {
type = PHY_PX_REPART_TRANSMIT;
} else if (ObPQDistributeMethod::LOCAL != op.get_dist_method()) {
type = PHY_PX_DIST_TRANSMIT;
} else {
// NOTE: 优化器需要和执行器保持一致,既没有分区、又没有HASH、或其它重分区方式时,就使用All To One
type = PHY_PX_REDUCE_TRANSMIT;