A community-supported driver for connecting Cube.js to SAP HANA databases, including SAP HANA Cloud and On-Premise HANA (tested on SP05). This package is part of the Cube.js ecosystem (v0.31.15) and allows Cube.js to query HANA as a data source. It is not officially maintained by the Cube.js core team; contributions and support are community-driven. The driver requires the @sap/hana-client package as a peer dependency. It supports Node.js versions 12, 14, and 16+ and includes TypeScript definitions. Use this driver to integrate HANA into your Cube.js analytics stack.
npm install cubejs-hana-driverNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to configure Cube.js with SAP HANA driver using either JS config or environment variables, including required peer dependency installation.
Review the community support status before using in production; consider testing extensively.
Run `npm install @sap/hana-client` in your Cube.js project.
Upgrade to Node.js 16 or later.
Stick to one configuration approach; environment variables are recommended.
Check the driver's GitHub issues and source for known limitations.
Run `npm install @sap/hana-client` in your Cube.js project directory.
Verify the HANA host, port, and network connectivity; check firewall settings.
Ensure cube.js configuration includes serverNode, uid, pwd or set environment variables CUBEJS_DB_HOST, CUBEJS_DB_USER, CUBEJS_DB_PASS.
Use module.exports = { driverFactory: ({ dataSource }) => ({ ... }) };