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

Export to sqlite does not work #102

Closed vybiralpetr closed 1 year ago

vybiralpetr commented 1 year ago

Hello, I am trying to export our tables to sqlite, but I am getting an error:

CDS compilation failed
Error: sqlDialect “sqlite” can't be combined with sqlMapping ‘quoted’

I think that the problem might be in this line of code:

I tried to export both table and view.

hana-cli inspectTable -t "XYZ" -o sqlite
hana-cli inspectView -v "XYZ" -o sqlite
jung-thomas commented 1 year ago

Looks like quoted isn't supported any longer in the cds compile to sqlite. I removed that option. Issue is fixed in new version 3.202302.4.