logoalt Hacker News

ClickHouse C – Talk to ClickHouse using its native binary protocol

29 points • by saisrirampur • yesterday at 11:08 PM • 1 comment • view on HN

Comments

__s • today at 4:23 AM

nitpick: this library requires consumer give io callbacks (potentially through the included clickhouse-client.h header), or use the sans-io interface (which clickhouse-c-rs[1] uses to implement tokio layer), which makes it capable of talking over native tcp protocol, http, or stdin/stdout (clickhouse local). ClickHouse has both native protocol[2] & native format[3]

1: https://github.com/ClickHouse/clickhouse-c-rs

2: https://clickhouse.com/docs/resources/develop-contribute/nat...

3: https://clickhouse.com/docs/resources/develop-contribute/nat...