partition_id_calc_type should reset after used
This commit is contained in:
@ -178,6 +178,7 @@ int ObRepartSliceIdxCalc::get_partition_id(ObEvalCtx& eval_ctx, int64_t& partiti
|
||||
{
|
||||
int ret = OB_SUCCESS;
|
||||
ObDatum* partition_id_datum = NULL;
|
||||
CalcTypeGuard calc_type_guard(eval_ctx.exec_ctx_);
|
||||
if (OB_REPARTITION_ONE_SIDE_ONE_LEVEL_FIRST == repart_type_) {
|
||||
eval_ctx.exec_ctx_.set_partition_id_calc_type(CALC_IGNORE_SUB_PART);
|
||||
} else if (OB_REPARTITION_ONE_SIDE_ONE_LEVEL_SUB == repart_type_) {
|
||||
|
||||
Reference in New Issue
Block a user