on 2021 Nov 15 9:53 AM
Hello all,
Which possibilities are there to connect from Python in SAP DI to a HANA DB or more generally to any relational DB?
Are there any other ways (OData, native libraries, hdbcli, ...)? What are pros and cons?
Thx, Ingo
Request clarification before answering.
Hey Ingo,
Depends in which context you are referring to. If you directly want to connect to HANA from Python in an ML context then you can use hana-ml package or the built-in SAP DI SDK.
In Jupyter on DI check blog by Andreas Forster. He has an example where he get the HANA connection to use with hana-ml.
SAP DI SDK:
You can have a look at the HANA ML Python SDK examples here:
Thanks,
Lochner
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
64 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.