You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know this project is about node-hdb, but we failed to find the repository for hdb-ext.
If it's available, please let us know.
We have a procedure where input table parameters definition refer to synonyms. These synonyms are created based on tables from another HDI container service.
The procedure definition looks something like below -
"MGMT"."mgmt.access.procedures.collection::PR_UPDATE_COLLECTION_STRATEGY"(
IT_NEW_COLL_STRAT <refers table synonym for type definition>
IT_OLD_COLL_STRAT <refers table synonym for type definition>,
OT_COLL_STRAT <refers table synonym for type definition>,
OV_STATUS_CD Integer,
OT_MESSAGE < some table type>
);
When we call the procedure from the hdb-ext library it gives us us the following error:
Error: Could not create temporary table: #mgmt.access.procedures.collection::PR_UPDATE_COLLECTION_STRATEGY_IT_NEW_COLL_STRAT_1571127570877: invalid table name: mgmt.access.synonyms::SY_SL_COLLECTION_STRATEGY
We found that when we call the procedure which expects table as parameters, hdb-ext library tries to create temporary tables using statement
'CREATE LOCAL TEMPORARY COLUMN TABLE IT_NEW_COLL_STRAT LIKE <synonym reference from procedure table parameter definition>'
and thats where its failing because as per our understanding LIKE addition in CREATE LOCAL TEMPORARY COLUMN TABLE statement expects db table or table type.
hdb-ext should handle this scenario where procedure could be call when they are defined with parameters referring to synonyms rather than actual db tables.
The text was updated successfully, but these errors were encountered:
Thank you for your response. However I'm well aware how to download and use the package. I'm posting because we are having an issue with that package....
I know this project is about node-hdb, but we failed to find the repository for hdb-ext.
If it's available, please let us know.
We have a procedure where input table parameters definition refer to synonyms. These synonyms are created based on tables from another HDI container service.
The procedure definition looks something like below -
When we call the procedure from the hdb-ext library it gives us us the following error:
We found that when we call the procedure which expects table as parameters, hdb-ext library tries to create temporary tables using statement
and thats where its failing because as per our understanding LIKE addition in CREATE LOCAL TEMPORARY COLUMN TABLE statement expects db table or table type.
hdb-ext should handle this scenario where procedure could be call when they are defined with parameters referring to synonyms rather than actual db tables.
The text was updated successfully, but these errors were encountered: