to issue<52362902>:fix time convert date issue in pl

This commit is contained in:
hanr881
2023-09-22 10:10:00 +00:00
committed by ob-robot
parent 5a47b904ed
commit 8c12503083
3 changed files with 7 additions and 9 deletions

View File

@ -7355,7 +7355,8 @@ int ObSPIService::convert_obj(ObPLExecCtx *ctx,
}
}
}
ObObj &cur_time = ctx->exec_ctx_->get_physical_plan_ctx()->get_cur_time();
cast_ctx.cur_time_ = cur_time.get_timestamp();
ObExprResType result_type;
OX (result_type.set_meta(result_types[i].get_meta_type()));
OX (result_type.set_accuracy(result_types[i].get_accuracy()));