9951 explained code solutions for 126 technologies


clickhouseInserting JSONEachRow format data into table


cat json_rows.txt | clickhouse-client -q "INSERT INTO tbl FORMAT JSONEachRow"ctrl + c
json_rows.txt

file with JSONEachRow formatted data (separate JSON on each line)

clickhouse-client -q

execute given query through client interface

INSERT INTO tbl

insert given data into tbl table

FORMAT JSONEachRow

set format of input data to JSONEachRow