9951 explained code solutions for 126 technologies


clickhouseInsert data over HTTP


curl "127.0.0.1:8123?query=INSERT+INTO+tbl+FORMAT+TSV" --data-binary @data.tsvctrl + c
curl

use curl to send HTTP request

127.0.0.1

Clickhouse host IP

8123

Clickhouse server port

query

insert query and format in url-encoded form

--data-binary

will post given data

@data.tsv

curl will post data from this TSV formatted file