-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hdb-ext library is not able to call specific procedures #144
Comments
The below code is located in : @sap/hdbext/lib/sp/TempTable.js Our proposed solution is to create the temporary tables even if the references are synonyms. CREATE LOCAL TEMPORARY column TABLE %s AS (SELECT TOP 1 * FROM %s.%s) WITH NO DATA; If someone could give us a reference to the original project, that would be much appreciated. Thanks |
There is no public repository for @sap/hdbext |
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.... |
In that case you should open a support ticket at https://launchpad.support.sap.com/#/incident/create |
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: