diff --git a/src/pl/ob_pl.cpp b/src/pl/ob_pl.cpp index 049580a01..ad748c78a 100644 --- a/src/pl/ob_pl.cpp +++ b/src/pl/ob_pl.cpp @@ -2450,7 +2450,7 @@ int ObPLExecState::init_complex_obj(ObIAllocator &allocator, } else if (pl_type.is_udt_type()) { ObPLUDTNS ns(*schema_guard); OZ (ns.init_complex_obj(allocator, pl_type, obj, false)); - } else if (pl_type.is_package_type()) { + } else if (pl_type.is_package_type() || pl_type.is_rowtype_type()) { ObPLResolveCtx ns(allocator, *session, *schema_guard,