Clickhouse: C++ client

Created on 20 Jun 2016  路  6Comments  路  Source: ClickHouse/ClickHouse

The documentation makes a reference to a C++ API / some way of programmaticly accessing a ClickHouse server via C++ via TCP.

Can you guys separate it out into a libclickhouseclient and provide headers?

Excuse my ignorance if this exists already and I'm unable to find it.

Most helpful comment

For anyone who interested in native C++ client please take a look at https://github.com/artpaul/clickhouse-cpp

All 6 comments

We have C++ API internally. Drawback is that it depends on (almost) whole ClickHouse codebase.
We could open it, but I am not sure, would it be appropriate solution.
Linking with whole ClickHouse is ugly.

Maybe, we could open it with many precautions statements.

@alexey-milovidov 小锌邪褋懈斜芯 蟹邪 斜褘褋褌褉褘泄 芯褌胁械褌

Do you see any benefits to using the C++ API vs going over http. Is the TCP interface somehow more efficient, less chatty, etc?

Do you see any benefits to using the C++ API vs going over http. Is the TCP interface somehow more efficient, less chatty, etc?

There are some benefits, but (I think) not crucial.

For anyone who interested in native C++ client please take a look at https://github.com/artpaul/clickhouse-cpp

This task should be closed

What are the native options available? I really don't want to use third party solution.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

atk91 picture atk91  路  3Comments

igor-sh8 picture igor-sh8  路  3Comments

vixa2012 picture vixa2012  路  3Comments

fizerkhan picture fizerkhan  路  3Comments

zhicwu picture zhicwu  路  3Comments