chdb-io / chdb-server-bak

API Server for chDB, an in-process SQL OLAP Engine powered by ClickHouse
https://chdb.io
Apache License 2.0
21 stars 4 forks source link

POST binary support #11

Closed lmangani closed 9 months ago

lmangani commented 9 months ago

WIP Test

EOF

- ❌  INSERT AGAIN

cat <<EOF | curl -X POST 'http://a:b@localhost:8123/?query=INSERT%20INTO%20a.time_series(date,%20fingerprint,%20labels,%20name)%20FORMAT%20JSONEachRow' --data-binary @- {"fingerprint":"15239659101592556482","timestamp_ns":"1699265700000000000","value":null,"string":"FREQ_TEST_0"}

EOF


❌ `Code: 57. DB::Exception: Table c.table already exists. (TABLE_ALREADY_EXISTS)`
lmangani commented 9 months ago

@laodouya could you help debug and possibly improve this method?