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. :)
- Docker
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.
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.