mydremio-cubejs-driver

0.31.69 • 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 mydremio-cubejs-driver

Weekly Downloads

1

Version

0.31.69

License

Apache-2.0

Unpacked Size

11.3 kB

Total Files

7

Last publish

Collaborators

  • dalongrong