[CP] to issue<51110822>:fix call aggreate udf issue when cross user

This commit is contained in:
hanr881
2023-11-15 08:11:01 +00:00
committed by ob-robot
parent 7a17c22604
commit e1ce6366c8

View File

@ -155,8 +155,9 @@ int ObPlAggUdfFunction::call_pl_engine_exectue_udf(ParamStore& udf_params,
K(ret), K(udf_params.count()), K(routine_info->get_param_count()));
} else if (OB_FAIL(pl_engine->execute(*exec_ctx_,
exec_ctx_->get_allocator(),
-1,
routine_info->get_routine_id(),
share::schema::ObUDTObjectType::mask_object_id(routine_info->get_package_id()),
OB_INVALID_ID != routine_info->get_package_id() ? routine_info->get_subprogram_id()
: routine_info->get_routine_id(),
empty_subprogram_path,
udf_params,
empty_nocopy_params,