@dalongrong/mydremio-driver

2.1.25 • Public • Published

cube.js dremio driver

fork form official driver

Usage

  • .env
CUBEJS_DB_HOST=<>
CUBEJS_DB_PORT=<>
CUBEJS_DB_NAME=<>
CUBEJS_DB_USER=<>
CUBEJS_DB_PASS=<>
CUBEJS_WEB_SOCKETS=true
CUBEJS_DEV_MODE=true
CUBEJS_DB_TYPE=mydremio
  • cube.js
const {DremioDriver,DremioQuery} = require("@dalongrong/mydremio-driver")
module.exports = {
    dialectFactory: (dataSource) => {
        // need config  datasource  for multitenant env
        return DremioQuery
    },
    dbType: ({ dataSource } = {}) => {
        return "mydremio"
    },
    driverFactory: ({ dataSource } = {}) => {
        return new DremioDriver({})
    }
};

Readme

Keywords

none

Package Sidebar

Install

npm i @dalongrong/mydremio-driver

Weekly Downloads

1

Version

2.1.25

License

Apache-2.0

Unpacked Size

10.5 kB

Total Files

7

Last publish

Collaborators

  • dalongrong