dbt-clickhouse icon indicating copy to clipboard operation
dbt-clickhouse copied to clipboard

Support chdb

Open fithisux opened this issue 1 year ago • 2 comments

Is your feature request related to a problem? Please describe. This issue does not fix a problem.

Describe the solution you'd like I would like to use dbt to run models on chdb. Like in DuckDB.

Describe alternatives you've considered I would like to avoid using a full clickhouse subscription, since I am mostly interested in pedagogical use or local use.

Additional context No thing else

fithisux avatar Jun 18 '24 09:06 fithisux

that would be a great addition. just added my vote.

OneCyrus avatar Sep 30 '24 08:09 OneCyrus

I started to work on it and the current design is to specify chdb as the driver

chdb-dev:
      type: clickhouse
      driver: chdb
      chdb_state_dir: ""     # a directory use for persistent session 
      chdb_dump_dir: ""    # a directory of sql files that will be loaded as initial state, for sources for examples 
      threads: 1
      user: dbt_test
      password: dbt_password
      schema: taxis_dbt

ThomAub avatar Oct 16 '24 07:10 ThomAub