node-clickhouse
node-clickhouse copied to clipboard
Yandex ClickHouse driver for nodejs
Run such snippet: ``` const ClickHouse = require('@apla/clickhouse'); const c = new ClickHouse({ host, port, auth }); const q = 'select count() from table -- ololololoolololololoolololololol ' const stream =...
hey, I'm trying to insert the clickhouse type `Date` from js `Date()`. I tried `new Date().toISOString().substr(0,10)` which worked fine but reading it causes it to return a `String`. What's the...
* Example test of using a parameter per [docs](https://clickhouse.yandex/docs/en/interfaces/http/#cli-queries-with-parameters) * Fix some indentation spaces -> tabs related: https://github.com/apla/node-clickhouse/issues/30
Is it possible to get information about the query progress in order to provide feedback like the clickhouse-client does?
We have a clickhouse cluster, used for replication, and we want to connect to all the hosts and ensure a load balancing across healthy hosts or an automatic failover. Is...
### The problem: Clickhouse understands the `FORMAT` statement which is accepted for both read (`SELECT`/`DESCRIBE`/`SHOW`/etc) and write (`INSERT`) kinds of queries. That means `format` public option is redundant because we'll...
Hello dier support. I am working with Clickhouse on nodejs and using your driver. As I can see, the stream transmits only one row per time. Transmit of 1,5 million...
A lot of ES6+ syntax features like `const`, `async/await`, spread operator and etc are supported in [email protected]+. [Node.js release calendar](https://nodejs.org/en/about/releases/) says that maintenance of node@6 LTS was ended at may...
To make it easier to make PR and keep codestyle consistent i propose to add: - eslint with preferred confg - precommit hook that checks codestyle (i recommend [husky](https://github.com/typicode/husky)+[lint-staged](https://github.com/okonet/lint-staged)) -...
I've set up multiple 'replicas' and 'shards' with docker compose. If you use the clickhouse 'ON CLUSTER' syntax, clickhouse sends back a simple text (not json) which contains the information...