beastoin / metabase-trino-driver

Trino Driver for Metabase

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


⚠️ An official driver is now available at https://github.com/starburstdata/metabase-driver


Metabase Trino Driver

An example for how to implement a Trino driver based off existing Presto JDBC support in Metabase.

Please note this only supports v0.42.0-preview1 version of Metabase until v0.42 is released

This is also just an example of how to implement this - I DO NOT plan on supporting a Trino driver. :)

Prerequisites

  • Docker

Run Metabase

If you just want to run the 0.42 preview release of Metabase with this driver, just do a docker build and run.

docker build -t metabase/trino .
docker run --rm --name metabase-trino -p 3000:3000 metabase/trino

This will load up Metabase on port 3000 with the Trino driver loaded up.

Build Jars

If you want the Trino jar to copy to your own Metabase intallation, you can use the --output flag with docker build.

docker build --output jars --target stg_export .

If successful, you should have a jars/trino.metabase-driver.jar file.

About

Trino Driver for Metabase

License:MIT License


Languages

Language:Clojure 68.2%Language:Dockerfile 31.8%