From 3560736a226d0c92ce97366a57e506f8b719af6e Mon Sep 17 00:00:00 2001 From: Y Lu <1838324+drag0nglass@users.noreply.github.com> Date: Tue, 25 Aug 2020 11:39:38 +0800 Subject: [PATCH] Update json-import.md The format spec shall be 'JSONEachRow' rather than '20JSONEachRow' --- docs/en/faq/integration/json-import.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/faq/integration/json-import.md b/docs/en/faq/integration/json-import.md index ef939b2c0d6..067b407a079 100644 --- a/docs/en/faq/integration/json-import.md +++ b/docs/en/faq/integration/json-import.md @@ -19,7 +19,7 @@ $ echo '{"foo":"bar"}' | curl 'http://localhost:8123/?query=INSERT%20INTO%20test Using [CLI interface](../../interfaces/cli.md): ``` bash -$ echo '{"foo":"bar"}' | clickhouse-client ---query="INSERT INTO test FORMAT 20JSONEachRow" +$ echo '{"foo":"bar"}' | clickhouse-client ---query="INSERT INTO test FORMAT JSONEachRow" ``` Instead of inserting data manually, you might consider to use one of [client libraries](../../interfaces/index.md) instead.