Giter Site home page Giter Site logo

pablovaldivia / metabase-cubejs-driver Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cloudempiere/metabase-cubejs-driver

0.0 1.0 0.0 1.14 MB

Use Metabase as a frontend for Cube.js

License: GNU Affero General Public License v3.0

Dockerfile 1.92% Clojure 89.84% JavaScript 3.06% Makefile 5.18%

metabase-cubejs-driver's Introduction

metabase-cubejs-driver

Latest Release GitHub license

With this driver you can use Cube.js as "backend" with Metabase as a "frontend". Create the schemas in Cube.js connect with Metabase and you are ready to go: make queries, filter the results and create beautiful charts and dashboards.

Explanation:

Cube.js Metabase
measure metric
dimension field
time dimension field

NOTE: The driver is under development so expect some bugs and missing features. If you find one please create an issue.

Features

Working

  • Auto generate data model from the schema fetched from the Cube.js API meta endpoint
  • Auto create metrics from the measures. (These metrics are "invalid" when you try to edit them but still usable in queries.)
  • native queries
  • custom questions
  • filters, orders, limit

Not working

  • Aggregations like sum, count and distinct. This should be done in Cube.js not in Metabase.

Installation

Requirements

  • Metabase v0.35.0 or newer

Get the driver

Download

Download from the releases.

Build with Docker

  1. Create the docker images: make docker
  2. Build the driver: make build

Build without Docker

Use this guide.

Copy to your Metabase plugins

cp cubejs.metabase-driver.jar /path/to/metabase/plugins/
Note: you have to restart Metabase to load new plugins

Usage

  1. Add and configure your Cube.js "DB" Add new DB
  2. Inspect your Data Model Data Model
  3. Create a query
    • Native Native query
    • Custom question Custom question
  4. Explore the data Results

Development

Roadmap

v1.0.0

Testing the driver

  1. Create the docker images: make docker
  2. Start a whole test environment: make start

Contributing

  • Any type of contributions are welcomed
  • If you find a bug, missing feature or a simple typo just create an issue
  • If you can fix/implement it create a pull request

License

GNU Affero General Public License v3.0 (AGPL)

metabase-cubejs-driver's People

Contributors

pyrooka avatar igorpojzl avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.