clickhouse-rs
clickhouse-rs copied to clipboard
Asynchronous ClickHouse client library for Rust programming language.
This change has helped us copying the data into apache arrow structures directly and it has improved the latency significantly (6 times faster) as compared to copying individual elements.
Get occasional panics in query_result ``` thread 'tokio-runtime-worker' panicked at /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/clickhouse-rs-1.1.0-alpha.1/src/types/query_result/mod.rs:93:44: called `Option::unwrap()` on a `None` value note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace ``` will set...
Hi, thank you for enabling the use of ClickHouse with Rust! It would be fantastic to have support for [async insert](https://clickhouse.com/docs/en/optimize/asynchronous-inserts) for inserting records. If this functionality is already available,...

Implemented `QueryResultOwned` to solve lifetime issues encountered with streaming query results in asynchronous contexts. This type facilitates creating streams with `'static` lifetimes, enabling easier integration into async workflows and structures...
Hi, I am scanning the clickhouse-srv in the latest version with my own static analyzer tool. Unsafe conversion found at: src/types/column/iter/mod.rs#L825 ``` rust let inner = unsafe { let mut...
Title: Unsound usages of unsafe implementation from `u8` to `$t` Hi, I am scanning the clickhouse-srv in the latest version with my own static analyzer tool. Unsafe conversion found at:...
Clickhouse returns only the a single block with `num_rows == 0` when do `SELECT` over an empty table. In such case, [`QueryResult::stream_blocks` skips the first block](https://github.com/suharev7/clickhouse-rs/blob/async-await/src/types/query_result/mod.rs#L80), which's the only block...