clickhouse-cpp icon indicating copy to clipboard operation
clickhouse-cpp copied to clipboard

C++ client library for ClickHouse

Results 76 clickhouse-cpp issues
Sort by recently updated
recently updated
newest added

`case TypeAst::Enum` in `CreateColumnFromAst ` has bug when `ast.elements.size() ==1`

After building and installing [clickhouse-cpp](https://github.com/ClickHouse/clickhouse-cpp) I'm trying to run example code from main page to execute test query but it misses some includes. `clickhouse/types/types.h:3:10: fatal error: absl/numeric/int128.h: No such file...

``` recv clickhouse::SocketInput::DoRead(void*, unsigned long) clickhouse::BufferedInput::DoRead(void*, unsigned long) clickhouse::CodedInputStream::ReadVarint64(unsigned long*) clickhouse::Client::Impl::ReceivePacket(unsigned long*) clickhouse::Client::Impl::Insert(basic_string const&, clickhouse::Block const&) ``` Could it be related to SO_RCVTIMEO? Is there any way to adjust the...

bug

Hello. I have a minimal example of the (I assume) correct usage of the library which leads to sockets being leaked by it. Steps to reproduce: 1. Get the `clickhouse-server`...

bug
priority-high

The `void ColumnString::Append(ColumnRef column)` also has memory copy BTW , In my scenario, the given column data (huge) will be no useful after calling this interface. Here is a complicated...

enhancement
priority-low

Does this client support parameterized queries? I see that command line client can do this, but it uses it`s own implementation.

enhancement
need-info

When I was working with the library, I found the following behavior: when my application is connecting to the clickhouse server, it may stick forever due to connection problems. A...

This change closes #86, and closes #99. Furthermore, it eases Conan packaging, as Conan already provides abseil, lz4 and cityhash. Signed-off-by: David Keller

Hello, I try set timezone to DateTime64: ``` auto timestamp_ = std::make_shared(3, "Europe/Amsterdam"); timestamp_->Append(timestamp); _block.AppendColumn("timestamp", timestamp_); ``` but it not works, what is wrong?

need-info