klickhouse
klickhouse copied to clipboard
Rust crate for accessing Clickhouse
Instead of depending entirely on the `futures` library all that is needed is `futures-util` and the `Future` trait from `std`.
Currently chrono pulls a lot of dependencies to just get the current system time. Module does not support wasm and there is no need to know local timezone. In total...
There is no need to use the `sync` feature as there are no blocking operations in the code. It is also better to use only the rt-multi-thread feature for development,...
This change allows us to not depend directly on `libc`. Since a simple type cast, which is an alias, is required. If something happens after update, the compiler will help...
That's what we've been discussing here https://github.com/Protryon/klickhouse/pull/48#issuecomment-2028531221
E.g. modifying https://github.com/Protryon/klickhouse/blob/d611b1772652a73fb2ff76142d45a1202a4cdaae/klickhouse/tests/test_decimal.rs#L21 to have a scale greater than 5 results in the following failure: ``` thread 'test_decimal::test_client' panicked at klickhouse/tests/test_decimal.rs:37:5: assertion `left == right` failed left: TestType { d_d128:...
How do I get started handling schema migrations with klickhouse and refinery? I noticed the `refinery` feature flag and took a look at the code in `./klickhouse/src/migrate.rs`, but I'm not...
The following test currently fails: ```rust async fn test_one< T: Clone + std::fmt::Debug + std::cmp::PartialEq + klickhouse::ToSql + klickhouse::FromSql, >( sample: T, client: &klickhouse::Client, ) { let sample2: klickhouse::UnitValue =...
I started using Klickhouse on my web server, but if any of the earlier queries have some errors, our server stops responding with a `protocol error: failed to send query:...