Skip to content

firebolt-db/metabase-firebolt-driver

Repository files navigation

Metabase Firebolt Driver

Installation

Please follow Firebolt's documentation to install the Metabase Firebolt driver on your Metabase instance. If you are using Metabase Cloud, no installation is required since the driver comes preinstalled.

Configuring

  1. Once you've started up Metabase, open http://localhost:3000 , go to add a database and select "Firebolt".
  2. You'll need to provide the Database Name, Username and Password.

Prerequisites

Build from source

  1. Clone and build metabase dependency jar.

    git clone https://github.com/metabase/metabase
    cd metabase
    clojure -X:deps prep
    cd modules/drivers
    clojure -X:deps prep
    cd ../..
    clojure -T:build uberjar
  2. Clone metabase-firebolt-driver repo

    cd modules/drivers
    git clone https://github.com/firebolt-db/metabase-firebolt-driver
  3. Prepare metabase dependencies

    cp ../../target/uberjar/metabase.jar metabase-firebolt-driver/
    cd metabase-firebolt-driver
    mkdir repo
    mvn deploy:deploy-file -Durl=file:repo -DgroupId=com.firebolt -DartifactId=metabase-core -Dversion=1.40 -Dpackaging=jar -Dfile=metabase.jar
  4. Build the jar

    LEIN_SNAPSHOTS_IN_RELEASE=true DEBUG=1 lein uberjar
  5. Let's assume we download metabase.jar from the Metabase jar to ~/metabase/ and we built the project above. Copy the built jar to the Metabase plugins directly and run Metabase from there!

    cd ~/metabase/
    java -jar metabase.jar

You should see a message on startup similar to:

2019-05-07 23:27:32 INFO plugins.lazy-loaded-driver :: Registering lazy loading driver :firebolt...
2019-05-07 23:27:32 INFO metabase.driver :: Registered driver :firebolt (parents: #{:sql-jdbc}) 🚚

Compatibility matrix

Metabase Release Driver Version
<=0.47.x 3.0.1
>=0.48.x 3.0.6