clickhouse-cpp
clickhouse-cpp copied to clipboard
C++ client library for ClickHouse
`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...
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`...
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...
And made it 'false' by default.
Does this client support parameterized queries? I see that command line client can do this, but it uses it`s own implementation.
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?