fix px sample bug

This commit is contained in:
wangt1xiuyi
2023-08-28 05:10:49 +00:00
committed by ob-robot
parent af90f35bfc
commit a54dafc522

View File

@ -622,7 +622,9 @@ int ObPxTaskProcess::OpPreparation::apply(ObExecContext &ctx,
}
}
}
} else if (PHY_TABLE_SCAN == op.type_ && on_set_tscs_) {
} else if ((PHY_TABLE_SCAN == op.type_ ||
PHY_ROW_SAMPLE_SCAN == op.type_ ||
PHY_BLOCK_SAMPLE_SCAN == op.type_) && on_set_tscs_) {
if (OB_ISNULL(pw_gi_spec_)) {
ret = OB_ERR_UNEXPECTED;
LOG_WARN("gi is null", K(ret));