on 2022 Jan 26 3:22 PM
Hi,
Is there a way to create a new HDI container instance as a copy of an existing one on BTP? This would be very useful for development purposes; we can have one main container which integrates data from other systems etc. and each developer can clone from that to do their work independently from other developers while still having access to good test data?
Thanks
//Carl
Request clarification before answering.
Hi Carl,
I tried different ways to duplicate an HDI container and finally found one.



CALL _SYS_DI.IMPORT_CONTAINER_FOR_COPY
('C2', CURRENT_SCHEMA, 'EXPORT_TABLE_NAME', _SYS_DI.T_NO_PARAMETERS, ?, ?, ?);

Note "C2" that is the name of your new container, and "EXPORT_TABLE_NAME" is the name of your Staging Table.
If you do not specify the schema name while creating your HDI container in parameters JSON, you have to look up a generated name from the credentials.
This was the only way that didn't break "@sap/hdi-deploy" deploy, because it also imports C2#DI HDI schema with database artifacts objects.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Looks really promising, many thanks for sharing!
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 6 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.