Skip to content

Driver for ClickHouse database support - #94

Merged
paveltiunov merged 11 commits into
cube-js:masterfrom
inikolaev:clickhouse-driver
Apr 29, 2019
Merged

paveltiunov merged 11 commits into
cube-js:masterfrom
inikolaev:clickhouse-driver

Conversation

@inikolaev

Copy link
Copy Markdown
Contributor

An implementation of driver for ClickHouse database:

  • A new driver class ClickHouseDriver has been added with some basic tests
  • A reference to the new driver has been added to Cube.js Server Core and Cude.js CLI

The following dependencies have been added:

  • node-clickhouse - a library which implements ClickHouse HTTP protocol
  • sqlstring - used to implement SQL parameter placeholders ? - it seems to be MySQL specific, but works for now
  • TestContainers - library which make it easier to run integration tests against real database, which is ClickHouse in this case

@paveltiunov

Copy link
Copy Markdown
Member

@inikolaev Hey Igor! Great job! 🙌 We'd need also Clickhouse dialect implementation though in order to get this working. Are you going to provide this or @cameronbraid ?

@paveltiunov
paveltiunov merged commit 0f05321 into cube-js:master Apr 29, 2019
@cameronbraid

Copy link
Copy Markdown
Contributor

@cameronbraid

Copy link
Copy Markdown
Contributor

new PR #98

haechangcho pushed a commit to haechangcho/cube that referenced this pull request May 15, 2026
* Initial work on ClickHouse driver

* Update dependencies

* added basic test including some fixes (cube-js#1)

* Added tests and made some fixes

* Generate custom query id

* Add support for parameter placeholders

* Enable join_use_nulls option

* Add reference to ClickHouse driver

* Add clickhouse option to the usage

* Update documentation

* Code formatting

* Enable session per connection in the pool
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants