Custom connector for Trino
This open source Java library allows Trino to run SQL queries against Resurface binary files. This connector provides table and column definitions, virtual column definitions, helpful custom functions, and management for persistent and volatile views. This connector can be configured for parallel splits, where multiple binary files are read in parallel for best performance.
This connector is included with the Resurface database, but can be installed into any Trino distribution.
- Java 23
- Trino 468
- resurfaceio/binfiles
1. Install Trino
download and expand tarball to local directory
export TRINO_HOME=$HOME/...
2. Create $TRINO_HOME/etc/catalog/resurface.properties:
connector.name=resurface
3. Build the connector and redeploy
mvn clean package && rm -rf $TRINO_HOME/plugin/resurface && cp -r ./target/resurfaceio-trino-connector-3.7.8 $TRINO_HOME/plugin/resurface
4. Start Trino
cd $TRINO_HOME
bash bin/launcher run
© 2016-2024 Graylog, Inc.