/dremio-driver

Dremio Metabase driver

Primary LanguageClojure

Sample Metabase Driver: Dremio

⚠️ Some things doesn't work !

screenshot

All you need you do is drop the driver in your plugins/ directory. You can grab it here or build it yourself:

Building the driver

Prereq: Install Metabase as a local maven dependency, compiled for building drivers

Clone the Metabase repo first if you haven't already done so.

cd /path/to/metabase_source
lein install-for-building-drivers

Prereq: Install dremio driver as a local maven dependency

Grab lein-localrepo first if you haven't already done so.

lein localrepo install lib/dremio-jdbc-driver-4.1.7.jar com.dremio/dremio 4.1.7

Build the Dremio driver

# (In the Dremio driver directory)
lein clean
DEBUG=1 LEIN_SNAPSHOTS_IN_RELEASE=true lein uberjar

Copy it to your plugins dir and restart Metabase

mkdir -p /path/to/metabase/plugins/
cp target/uberjar/dremio.metabase-driver.jar /path/to/metabase/plugins/
jar -jar /path/to/metabase/metabase.jar

or:

mkdir -p /path/to/metabase_source/plugins
cp target/uberjar/dremio.metabase-driver.jar /path/to/metabase_source/plugins/
cd /path/to/metabase_source
lein run