[CP] [FEAT MERGE]support dblink udf

This commit is contained in:
seuwebber
2024-03-21 04:45:36 +00:00
committed by ob-robot
parent 6d7fab4ff1
commit 5bdd7e5bd1
61 changed files with 1065 additions and 401 deletions

View File

@ -291,7 +291,7 @@ int ObExprCollectionConstruct::eval_collection_construct(const ObExpr &expr,
int64_t ptr = 0;
int64_t init_size = OB_INVALID_SIZE;
OZ (collection_type->get_element_type().newx(*coll->get_allocator(), ns, ptr));
OZ (collection_type->get_element_type().get_size(*ns, pl::PL_TYPE_INIT_SIZE, init_size));
OZ (collection_type->get_element_type().get_size(pl::PL_TYPE_INIT_SIZE, init_size));
OX (new_composite.set_extend(ptr, collection_type->get_element_type().get_type(), init_size));
OX (static_cast<ObObj*>(coll->get_data())[i] = new_composite);
} else if (pl::PL_OPAQUE_TYPE == v.get_meta().get_extend_type()