https://github.com/firebolt-db/metabase-firebolt-driver
https://github.com/firebolt-db/metabase-firebolt-driver
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/firebolt-db/metabase-firebolt-driver
- Owner: firebolt-db
- License: apache-2.0
- Created: 2022-01-19T18:06:32.000Z (over 3 years ago)
- Default Branch: develop
- Last Pushed: 2025-02-17T11:51:41.000Z (4 months ago)
- Last Synced: 2025-04-29T21:18:34.959Z (about 1 month ago)
- Language: Clojure
- Size: 144 KB
- Stars: 0
- Watchers: 3
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Metabase Firebolt Driver
[Firebolt documentation page](https://docs.firebolt.io/Guides/integrations/metabase.html)
## Overview
## Installation
### Get the driver
Download the latest driver jar from the [releases page](https://github.com/firebolt-db/metabase-firebolt-driver/releases). Make sure to check the [compatibility matrix](#compatibility-matrix) to get the right version.
**or**
Build the driver from source as described in the [Build from source](#build-from-source) section.### Run Metabase locally
1. Download the `metabase.jar` file from [Metabase download page](https://www.metabase.com/start/oss/jar).
2. Run Metabase first time. It will generate all the required files and directories, including the `/plugins` directory.
```shell
java -jar metabase.jar
```
3. Stop Metabase.
4. Copy the Firebolt driver jar to the Metabase `/plugins` directory
5. Start Metabase again. Firebolt connection should be available in the list of databases now.## Build from source
### Prerequisites
- [Leiningen](https://leiningen.org/)
### Steps
1. Clone and build metabase dependency jar.
```shell
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
```shell
cd modules/drivers
git clone https://github.com/firebolt-db/metabase-firebolt-driver
```3. Prepare metabase dependencies
```shell
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
```shell
LEIN_SNAPSHOTS_IN_RELEASE=true DEBUG=1 lein uberjar
```5. The jar will be available in the `target` directory.
## Compatibility matrix
| Metabase Release | Driver Version | Firebolt Version |
|------------------|----------------|------------------|
| <=0.47.x | 3.0.1 | 1.0 |
| \>=0.48.x | 3.1.0 | 1.0 and 2.0 |
| >=0.52 | 3.2.0 | 2.0 |