Giter VIP home page Giter VIP logo

databricks-sql-driver's Introduction

Metabase Driver: Databricks SQL Warehouse

This project is based on:

  1. Community Databricks Driver
  2. Databricks SparkSQL Driver

Installation

Beginning with Metabase 0.32, drivers must be stored in a plugins directory in the same directory where metabase.jar is, or you can specify the directory by setting the environment variable MB_PLUGINS_DIR. There are a few options to get up and running with a custom driver.

You can find jar file on the release page or you can build it locally.

Build

Run the following command to build plugin jar file:

make build

If all succeed you will find the driver jar under ./plugins folder.

Run Locally

make run

Once the Metabase startup completes, you can access your Metabase at localhost:3000, which pulls metabase docker image and then start this project.

Add Data

When you first access, fill some basic info and then go to "Add your data" section and follow these steps:

  1. Choose "Databricks SQL" source;
  2. Open your DataBricks SQL Server information at Databricks and copy host, http-path and your personal-access-token (first image below).
  3. Fill these info into metabase form (second image below).

Hacking the Driver whtin devcontainer

For further development try to use devcontainer setup.

To start a (n)REPL:

./bin/cli.sh

Menu Options:
[1] nrepl  - start an nREPL
[2] repl   - start regular repl
[3] exit   - exit the script
Enter your choice (1/2/3):

databricks-sql-driver's People

Contributors

schumannc avatar lgabs avatar avelino avatar caioamado avatar uucico 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.