Skip to content

zen-xu/harlequin-risingwave

Repository files navigation

harlequin-risingwave

This repo provides the Harlequin adapter for Risingwave.

Installation

harlequin-risingwave depends on harlequin and risingwave-postgres, so installing this package will also install these packages.

Using pip

To install this adapter into an activated virtual environment:

pip install harlequin-risingwave

Using poetry

poetry add harlequin-risingwave

Using pipx

If you do not already have Harlequin installed:

pip install harlequin-risingwave

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

pipx inject harlequin harlequin-risingwave

Usage and Configuration

You can open Harlequin with the Risingwave adapter by selecting it with the -a option and passing a Posgres DSN:

harlequin -a risingwave "postgres://my-user:my-pass@localhost:5432/my-database"

You can also pass all or parts of the connection string as separate options. The following is equivalent to the above DSN:

harlequin -a risingwave -h localhost -p 5432 -U my-user --password my-pass -d my-database

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

harlequin --help

For more information, see the Harlequin Docs.