SAP-samples / hana-developer-cli-tool-example

Learn how to build a developer-centric SAP HANA command line tool, particularly designed to be used when performing SAP HANA development in non-SAP tooling (for example from VS Code).
Apache License 2.0
90 stars 24 forks source link

Exclude user-defined table types from generated CDS (or support them as CDS types) #51

Closed ThePlenkov closed 3 years ago

ThePlenkov commented 3 years ago

Hi!

I just noticed that if we declare table type in the system like that:

image

it ends up in CDS like this: image

if we'll try to select from such an entity - that will fail of course. image

Therefore I propose for now just to exclude such user-defined types from the selection. And if needed to return the back already as CDS types. Luckily we can simply filter out them with IS_USER_DEFINED_TYPE = FALSE

jung-thomas commented 3 years ago

Merged and delivered with 2.202105.9