clickhouse-js
clickhouse-js copied to clipboard
Official JS client for ClickHouse DB
An example of such an error: ``` Code: 57. DB::Exception: There was an error on [clickhouse2:9000]: Code: 57. DB::Exception: Table default.command_test_2a751694160745f5aebe586c90b27515 already exists. (TABLE_ALREADY_EXISTS) (version 22.6.5.22 (official build)). (TABLE_ALREADY_EXISTS) (version...
The max length of a query depends on env. https://stackoverflow.com/questions/812925/what-is-the-maximum-possible-length-of-a-query-string Let's be on the safe side and provide a meaningful default instead of waiting for customers to report a problem...
TBD - [ ] Benchmarks - [ ] Stress test - [ ] Memory leaks detection
We need to verify that we can send every setting without issues.
Currently, we only have `wait_till_end_of_query` [Complete list](https://github.com/ClickHouse/ClickHouse/blob/73709b04884ed7d228ac87f8a75a4a8c096ae598/src/Server/HTTPHandler.cpp#L668-L669)
Export `NodeClickHouseClient` as value from `client-node` for verbatimModuleSyntax=true environments
### Use case Currently, `NodeClickHouseClient` is exported as a type in the client-node package. https://github.com/ClickHouse/clickhouse-js/blob/a332672bfb70d54dfd27ae1f8f5169a6ffeea780/packages/client-node/src/index.ts#L1-L4 While I understand that it is an architecture decision so developers are forced to use...
### Use case Collect traces, metrics, logs ### Describe the solution you'd like Use OpenTelemetry for collecting metrics, logs, traces ### Describe the alternatives you've considered Expose metrics as an...
### Use case Use case will be for handling formatting of the data value from a response, when `meta` is present on an app. ### Describe the solution you'd like...
### Describe the bug Directly select a String or FixedString(N) column which stores raw bytes rather than UTF-8 string, the result will contain e.g.  the correct value of this...
After https://github.com/ClickHouse/ClickHouse/issues/17270