Skip to content

Latest commit

 

History

History
72 lines (50 loc) · 1.37 KB

README.md

File metadata and controls

72 lines (50 loc) · 1.37 KB

harlequin-trino

This repo provides the Harlequin adapter for Trino.

Installation

harlequin-trino depends on harlequin, so installing this package will also install Harlequin.

Using pip

To install this adapter into an activated virtual environment:

pip install harlequin-trino

Using poetry

poetry add harlequin-trino

Using pipx

If you do not already have Harlequin installed:

pip install harlequin-trino

If you would like to add the Trino adapter to an existing Harlequin installation:

pipx inject harlequin harlequin-trino

As an Extra

Alternatively, you can install Harlequin with the trino extra:

pip install harlequin[trino]
poetry add harlequin[trino]
pipx install harlequin[trino]

Usage and Configuration

For a minimum connection you are going to need:

  • host
  • port
  • user
harlequin -a trino -h localhost -p 8080 -U my_user 

If your trino instance requires a password you can set the --require_auth flag to password and use the --password flag for your password

harlequin -a trino -h localhost -p 8080 -U my_user --password my-pass --require_auth password 

Many more options are available; to see the full list, run:

harlequin --help

For more information, see the Harlequin Docs.