Skip to content

added basic test including some fixes - #1

Merged
inikolaev merged 3 commits into
inikolaev:clickhouse-driverfrom
cameronbraid:clickhouse-driver
Apr 27, 2019
Merged

inikolaev merged 3 commits into
inikolaev:clickhouse-driverfrom
cameronbraid:clickhouse-driver

Conversation

@cameronbraid

Copy link
Copy Markdown

No description provided.

"@cubejs-backend/query-orchestrator": "^0.0.21",
"generic-pool": "^3.6.0"
"generic-pool": "^3.6.0",
"mocha": "^5.2.0"

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should mocha be inside of devDependencies instead?

@cameronbraid

cameronbraid commented Apr 27, 2019 via email

Copy link
Copy Markdown
Author

@@ -0,0 +1,10 @@
version: '2'

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's set version to 3, other than that the format of the file should be the same in our case.

@cameronbraid

cameronbraid commented Apr 27, 2019 via email

Copy link
Copy Markdown
Author

@inikolaev

Copy link
Copy Markdown
Owner

@cameronbraid Maybe we should actually try using https://github.com/testcontainers/testcontainers-node instead of Docker Compose for tests. The benefit is that it can be set up from the test itself and no need to run docker-compose manually. I use it for Java projects and it's very handy. This can be done as a follow up PR.

@inikolaev
inikolaev merged commit 6f9f823 into inikolaev:clickhouse-driver Apr 27, 2019
cameronbraid pushed a commit to cameronbraid/cube.js that referenced this pull request Apr 30, 2019
* Initial work on ClickHouse driver

* Update dependencies

* added basic test including some fixes (inikolaev#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.

2 participants