theseus-rs / rsql

Command line interface for CockroachDB, DuckDB, LibSQL, MariaDB, MySQL, PostgreSQL, Redshift, Snowflake, SQLite3 and SQL Server
https://theseus-rs.github.io/rsql/rsql_cli/
Apache License 2.0
129 stars 5 forks source link

ClickHouse database support #186

Open Slach opened 2 months ago

Slach commented 2 months ago

Thank you kindly for your cool tool

Could you add ClickHouse database support? ClickHouse is blazing fast OLAP Columnar database,

look https://clickhouse.com/docs/en/development/integrating_rust_libraries for details

brianheineman commented 2 months ago

Hello @Slach thank you for the feature request. I took a quick look at the clickhouse driver and they do not currently appear to support dynamic querying: https://github.com/ClickHouse/clickhouse-rs/issues/53 or execution: https://github.com/ClickHouse/clickhouse-rs/issues/74

If/when they update their driver to support this capability, it would be pretty easy to add support to rsql.