ClickHouse / clickhouse-cpp

C++ client library for ClickHouse
Apache License 2.0
306 stars 159 forks source link

add clause for inserting queries #391

Closed 1261385937 closed 2 months ago

1261385937 commented 2 months ago

INSERT INTO YourTable SETTINGS async_insert=1, wait_for_async_insert=1 VALUES (...)

1261385937 commented 2 months ago

async inserts only work over the TCP native protocol if the data is sent as SQL text. If you use a client to manage your native protocol inserts actually using the native data format, async inserts are not available.