-
Notifications
You must be signed in to change notification settings - Fork 24
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
massconvert for hdbtabletype #104
Comments
I'm afraid that wouldn't be in the scope of this tool. We read the SQL/runtime definition of the object (regardless of origin/design time type) and then convert that to a new target. But what you are describing would require input of the existing hdbdd and processing it directly. |
I can understand, sorry i showed you the hdbdd file. These are also part of runtimes as row tables in the sys.tables view.
@cds.persistence.exists
CDS compilation failed There is also some issue during conversion to hdbtable in inspect. But I am mainly looking this feature in massConvert. No worries if that's not part of scope, just want to check whether it is feasible. |
Looks like the issue here is just the :: in the original object name which isn’t valid in CAP CDS. You can use the noColons option to replace those with a period instead Replace :: in table/view path with |
Thanks but still it is returning the same error and program hasn't terminate. hana-cli inspectTable -s HFP_INTERNAL -t HFP_PMT.TABLE::GLOBAL.AUDIT -o hdbtable -a --noColons CDS compilation failed And my main request is do you able to support this massConvert also ? |
You need to add “true” after noColons |
Sorry to trouble you again, I am unable to see any effect of using --noColons true in the command. hana-cli inspectTable -s HFP_INTERNAL -t HFP_PMT.TABLE::GLOBAL.AUDIT --noColons true -a -o hdbtable --hana CDS compilation failed @cds.persistence.exists |
You said you wanted to do the massConvert. The noColons option is in the massConvert command. https://github.com/SAP-samples/hana-developer-cli-tool-example#massconvert |
yes i wanted to use massConvert but tabletypes are not picked up in massConvert. Those are ROW tables and those are listing in hana-cli tables command. |
Hi Jung,
Do you plan to support massConvert from hdbdd (Type) to hdbtable or hdbtabletype.
For example:
context GLOBAL {
};
During massconvert, "entity" is converted but not the "type". I have around 100 such types needs to be converted to hdbtable or hdbtabletype.
Do you able to take this enhancement request?
Regards,
Karthick
The text was updated successfully, but these errors were encountered: