This repo provides the Harlequin adapter for Trino.
harlequin-trino
depends on harlequin
, so installing this package will also install Harlequin.
To install this adapter into an activated virtual environment:
pip install harlequin-trino
poetry add harlequin-trino
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
Alternatively, you can install Harlequin with the trino
extra:
pip install harlequin[trino]
poetry add harlequin[trino]
pipx install harlequin[trino]
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.