/trino-connector

Custom connector for Trino

Primary LanguageJavaApache License 2.0Apache-2.0

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 License Contributing

Usage

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

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.6.14 $TRINO_HOME/plugin/resurface

4. Start Trino
cd $TRINO_HOME
bash bin/launcher run

© 2016-2024 Graylog, Inc.