Skip to content

Resurface connector for Trino

License

Notifications You must be signed in to change notification settings

resurfaceio/trino-connector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

resurfaceio-trino-connector

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.

CodeFactor Contributing License Hosted By: Cloudsmith

Usage

This connector is included with the Resurface database, but can be installed into any Trino distribution.

⚠️ We publish our official binaries on CloudSmith rather than Maven Central, because CloudSmith is awesome and free for open-source projects.

Dependencies

Configuring Local Environment

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.