This is an automated email from the ASF dual-hosted git repository.
kassiez pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris-website.git
The following commit(s) were added to refs/heads/master by this push:
new bbef3b7d44b add new notice of json load (#2342)
bbef3b7d44b is described below
commit bbef3b7d44b6af43cc3f6b823b675cad7221bfb8
Author: lsy3993 <[email protected]>
AuthorDate: Tue May 6 12:22:13 2025 +0800
add new notice of json load (#2342)
## Versions
- [x] dev
- [x] 3.0
- [x] 2.1
- [ ] 2.0
## Languages
- [x] Chinese
- [x] English
## Docs Checklist
- [ ] Checked by AI
- [ ] Test Cases Built
---
docs/data-operate/import/file-format/json.md | 1 +
docs/data-operate/import/import-way/broker-load-manual.md | 3 +++
docs/data-operate/import/import-way/routine-load-manual.md | 3 +++
docs/data-operate/import/import-way/stream-load-manual.md | 2 ++
.../current/data-operate/import/file-format/json.md | 1 +
.../current/data-operate/import/import-way/broker-load-manual.md | 3 +++
.../current/data-operate/import/import-way/routine-load-manual.md | 3 +++
.../current/data-operate/import/import-way/stream-load-manual.md | 1 +
.../version-2.1/data-operate/import/file-format/json.md | 1 +
.../version-2.1/data-operate/import/import-way/broker-load-manual.md | 3 +++
.../version-2.1/data-operate/import/import-way/routine-load-manual.md | 3 +++
.../version-2.1/data-operate/import/import-way/stream-load-manual.md | 1 +
.../version-3.0/data-operate/import/file-format/json.md | 1 +
.../version-3.0/data-operate/import/import-way/broker-load-manual.md | 3 +++
.../version-3.0/data-operate/import/import-way/routine-load-manual.md | 3 +++
.../version-3.0/data-operate/import/import-way/stream-load-manual.md | 1 +
versioned_docs/version-2.1/data-operate/import/file-format/json.md | 1 +
.../version-2.1/data-operate/import/import-way/broker-load-manual.md | 3 +++
.../version-2.1/data-operate/import/import-way/routine-load-manual.md | 3 +++
.../version-2.1/data-operate/import/import-way/stream-load-manual.md | 2 ++
versioned_docs/version-3.0/data-operate/import/file-format/json.md | 1 +
.../version-3.0/data-operate/import/import-way/broker-load-manual.md | 3 +++
.../version-3.0/data-operate/import/import-way/routine-load-manual.md | 3 +++
.../version-3.0/data-operate/import/import-way/stream-load-manual.md | 2 ++
24 files changed, 51 insertions(+)
diff --git a/docs/data-operate/import/file-format/json.md
b/docs/data-operate/import/file-format/json.md
index 3d3e108d698..ad038dca2eb 100644
--- a/docs/data-operate/import/file-format/json.md
+++ b/docs/data-operate/import/file-format/json.md
@@ -113,6 +113,7 @@ The following table lists the JSON format parameters
supported by various loadin
2. Broker Load: Parameters are specified through `PROPERTIES`, e.g.,
`PROPERTIES("jsonpaths"="$.data")`
3. Routine Load: Parameters are specified through `PROPERTIES`, e.g.,
`PROPERTIES("jsonpaths"="$.data")`
4. TVF: Parameters are specified in TVF statements, e.g.,
`S3("jsonpaths"="$.data")`
+5. If you need to load the JSON object at the root node of a JSON file, the
jsonpaths should be specified as $., e.g., `PROPERTIES("jsonpaths"="$.")`
:::
### Parameter Description
diff --git a/docs/data-operate/import/import-way/broker-load-manual.md
b/docs/data-operate/import/import-way/broker-load-manual.md
index 42943e010ca..a105eedb9f9 100644
--- a/docs/data-operate/import/import-way/broker-load-manual.md
+++ b/docs/data-operate/import/import-way/broker-load-manual.md
@@ -785,6 +785,9 @@ The `jsonpaths` can also be used in conjunction with the
column list and `SET (c
"hadoop.username"="user"
);
```
+:::info Note
+If you need to load the JSON object at the root node of a JSON file, the
jsonpaths should be specified as $., e.g., `PROPERTIES("jsonpaths"="$.")`"
+:::
### Load from other brokers
diff --git a/docs/data-operate/import/import-way/routine-load-manual.md
b/docs/data-operate/import/import-way/routine-load-manual.md
index e4a2602e61e..ff2c9aa4af7 100644
--- a/docs/data-operate/import/import-way/routine-load-manual.md
+++ b/docs/data-operate/import/import-way/routine-load-manual.md
@@ -184,6 +184,9 @@ In Doris, you can create persistent Routine Load tasks
using the `CREATE ROUTIN
"kafka_broker_list" = "192.168.88.62:9092"
);
```
+:::info Note
+If you need to load the JSON object at the root node of a JSON file, the
jsonpaths should be specified as $., e.g., `PROPERTIES("jsonpaths"="$.")`"
+:::
### Viewing Status
diff --git a/docs/data-operate/import/import-way/stream-load-manual.md
b/docs/data-operate/import/import-way/stream-load-manual.md
index e986b081936..e968a7a9697 100644
--- a/docs/data-operate/import/import-way/stream-load-manual.md
+++ b/docs/data-operate/import/import-way/stream-load-manual.md
@@ -207,6 +207,8 @@ curl --location-trusted -u <doris_user>:<doris_password> \
:::info Note
If the JSON file is not a JSON array but each line is a JSON object, add the
headers `-H "strip_outer_array:false"` and `-H "read_json_by_line:true"`.
+
+If you need to load the JSON object at the root node of a JSON file, the
jsonpaths should be specified as $., e.g., `-H "jsonpaths:[\"$.\"]`"
:::
Stream Load is a synchronous method, where the result is directly
returned to the user.
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/data-operate/import/file-format/json.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/data-operate/import/file-format/json.md
index 96d323906fc..aa8bad71f97 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/data-operate/import/file-format/json.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/data-operate/import/file-format/json.md
@@ -113,6 +113,7 @@ Doris 支持以下三种 JSON 格式:
2. Broker Load:参数通过 `PROPERTIES` 指定,如:`PROPERTIES("jsonpaths"="$.data")`
3. Routine Load:参数通过 `PROPERTIES` 指定,如:`PROPERTIES("jsonpaths"="$.data")`
4. TVF:参数通过 TVF 语句指定,如:`S3("jsonpaths"="$.data")`
+5. 如果需要将 JSON 文件中根节点的 JSON 对象导入,jsonpaths
需要指定为$.,如:`PROPERTIES("jsonpaths"="$.")`
:::
### 参数说明
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/data-operate/import/import-way/broker-load-manual.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/data-operate/import/import-way/broker-load-manual.md
index d7c9556f79f..75deb2a6080 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/data-operate/import/import-way/broker-load-manual.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/data-operate/import/import-way/broker-load-manual.md
@@ -779,6 +779,9 @@ Broker Name 只是一个用户自定义名称,不代表 Broker 的类型。
"hadoop.username"="user"
);
```
+:::info 备注
+如果需要将 JSON 文件中根节点的 JSON 对象导入,jsonpaths 需要指定为$.,如:`PROPERTIES("jsonpaths"="$.")`
+:::
### 从其他 Broker 导入
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/data-operate/import/import-way/routine-load-manual.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/data-operate/import/import-way/routine-load-manual.md
index 6db61788841..a9efe498b8c 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/data-operate/import/import-way/routine-load-manual.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/data-operate/import/import-way/routine-load-manual.md
@@ -196,6 +196,9 @@ FROM KAFKA(
"property.kafka_default_offsets" = "OFFSET_BEGINNING"
);
```
+:::info 备注
+如果需要将 JSON 文件中根节点的 JSON 对象导入,jsonpaths 需要指定为$.,如:`PROPERTIES("jsonpaths"="$.")`
+:::
### 查看导入状态
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/data-operate/import/import-way/stream-load-manual.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/data-operate/import/import-way/stream-load-manual.md
index 8475574477d..52c3259eff1 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/data-operate/import/import-way/stream-load-manual.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/data-operate/import/import-way/stream-load-manual.md
@@ -203,6 +203,7 @@ Stream Load 需要对目标表的 INSERT 权限。如果没有 INSERT 权限,
```
:::info 备注
若 JSON 文件内容不是 JSON Array,而是每行一个 JSON 对象,添加 Header `-H
"strip_outer_array:false"` `-H "read_json_by_line:true"`。
+ 如果需要将 JSON 文件中根节点的 JSON 对象导入,jsonpaths 需要指定为$.,如:`-H "jsonpaths:[\"$.\"]"`
:::
Stream Load 是一种同步导入方式,导入结果会直接返回给用户。
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/data-operate/import/file-format/json.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/data-operate/import/file-format/json.md
index 9bb1de59682..2d3fbc8b3d2 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/data-operate/import/file-format/json.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/data-operate/import/file-format/json.md
@@ -113,6 +113,7 @@ Doris 支持以下三种 JSON 格式:
2. Broker Load:参数通过 `PROPERTIES` 指定,如:`PROPERTIES("jsonpaths"="$.data")`
3. Routine Load:参数通过 `PROPERTIES` 指定,如:`PROPERTIES("jsonpaths"="$.data")`
4. TVF:参数通过 TVF 语句指定,如:`S3("jsonpaths"="$.data")`
+5. 如果需要将 JSON 文件中根节点的 JSON 对象导入,jsonpaths
需要指定为$.,如:`PROPERTIES("jsonpaths"="$.")`
:::
### 参数说明
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/data-operate/import/import-way/broker-load-manual.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/data-operate/import/import-way/broker-load-manual.md
index 099cede2923..c5e4b8a7a4b 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/data-operate/import/import-way/broker-load-manual.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/data-operate/import/import-way/broker-load-manual.md
@@ -779,6 +779,9 @@ Broker Name 只是一个用户自定义名称,不代表 Broker 的类型。
"hadoop.username"="user"
);
```
+:::info 备注
+如果需要将 JSON 文件中根节点的 JSON 对象导入,jsonpaths 需要指定为$.,如:`PROPERTIES("jsonpaths"="$.")`
+:::
### 从其他 Broker 导入
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/data-operate/import/import-way/routine-load-manual.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/data-operate/import/import-way/routine-load-manual.md
index 156f05320e0..b2ea9be582c 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/data-operate/import/import-way/routine-load-manual.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/data-operate/import/import-way/routine-load-manual.md
@@ -200,6 +200,9 @@ FROM KAFKA(
"property.kafka_default_offsets" = "OFFSET_BEGINNING"
);
```
+:::info 备注
+如果需要将 JSON 文件中根节点的 JSON 对象导入,jsonpaths 需要指定为$.,如:`PROPERTIES("jsonpaths"="$.")`
+:::
### 查看导入状态
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/data-operate/import/import-way/stream-load-manual.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/data-operate/import/import-way/stream-load-manual.md
index 8475574477d..52c3259eff1 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/data-operate/import/import-way/stream-load-manual.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/data-operate/import/import-way/stream-load-manual.md
@@ -203,6 +203,7 @@ Stream Load 需要对目标表的 INSERT 权限。如果没有 INSERT 权限,
```
:::info 备注
若 JSON 文件内容不是 JSON Array,而是每行一个 JSON 对象,添加 Header `-H
"strip_outer_array:false"` `-H "read_json_by_line:true"`。
+ 如果需要将 JSON 文件中根节点的 JSON 对象导入,jsonpaths 需要指定为$.,如:`-H "jsonpaths:[\"$.\"]"`
:::
Stream Load 是一种同步导入方式,导入结果会直接返回给用户。
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/data-operate/import/file-format/json.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/data-operate/import/file-format/json.md
index 1ecbd5fd8f4..ed12ec96f64 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/data-operate/import/file-format/json.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/data-operate/import/file-format/json.md
@@ -113,6 +113,7 @@ Doris 支持以下三种 JSON 格式:
2. Broker Load:参数通过 `PROPERTIES` 指定,如:`PROPERTIES("jsonpaths"="$.data")`
3. Routine Load:参数通过 `PROPERTIES` 指定,如:`PROPERTIES("jsonpaths"="$.data")`
4. TVF:参数通过 TVF 语句指定,如:`S3("jsonpaths"="$.data")`
+5. 如果需要将 JSON 文件中根节点的 JSON 对象导入,jsonpaths
需要指定为$.,如:`PROPERTIES("jsonpaths"="$.")`
:::
### 参数说明
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/data-operate/import/import-way/broker-load-manual.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/data-operate/import/import-way/broker-load-manual.md
index 099cede2923..c5e4b8a7a4b 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/data-operate/import/import-way/broker-load-manual.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/data-operate/import/import-way/broker-load-manual.md
@@ -779,6 +779,9 @@ Broker Name 只是一个用户自定义名称,不代表 Broker 的类型。
"hadoop.username"="user"
);
```
+:::info 备注
+如果需要将 JSON 文件中根节点的 JSON 对象导入,jsonpaths 需要指定为$.,如:`PROPERTIES("jsonpaths"="$.")`
+:::
### 从其他 Broker 导入
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/data-operate/import/import-way/routine-load-manual.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/data-operate/import/import-way/routine-load-manual.md
index 2535c5a5140..e8db1c567c5 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/data-operate/import/import-way/routine-load-manual.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/data-operate/import/import-way/routine-load-manual.md
@@ -200,6 +200,9 @@ FROM KAFKA(
"property.kafka_default_offsets" = "OFFSET_BEGINNING"
);
```
+:::info 备注
+如果需要将 JSON 文件中根节点的 JSON 对象导入,jsonpaths 需要指定为$.,如:`PROPERTIES("jsonpaths"="$.")`
+:::
### 查看导入状态
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/data-operate/import/import-way/stream-load-manual.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/data-operate/import/import-way/stream-load-manual.md
index 8475574477d..52c3259eff1 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/data-operate/import/import-way/stream-load-manual.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/data-operate/import/import-way/stream-load-manual.md
@@ -203,6 +203,7 @@ Stream Load 需要对目标表的 INSERT 权限。如果没有 INSERT 权限,
```
:::info 备注
若 JSON 文件内容不是 JSON Array,而是每行一个 JSON 对象,添加 Header `-H
"strip_outer_array:false"` `-H "read_json_by_line:true"`。
+ 如果需要将 JSON 文件中根节点的 JSON 对象导入,jsonpaths 需要指定为$.,如:`-H "jsonpaths:[\"$.\"]"`
:::
Stream Load 是一种同步导入方式,导入结果会直接返回给用户。
diff --git a/versioned_docs/version-2.1/data-operate/import/file-format/json.md
b/versioned_docs/version-2.1/data-operate/import/file-format/json.md
index 6bce1c16c79..88b727d7ae9 100644
--- a/versioned_docs/version-2.1/data-operate/import/file-format/json.md
+++ b/versioned_docs/version-2.1/data-operate/import/file-format/json.md
@@ -113,6 +113,7 @@ The following table lists the JSON format parameters
supported by various loadin
2. Broker Load: Parameters are specified through `PROPERTIES`, e.g.,
`PROPERTIES("jsonpaths"="$.data")`
3. Routine Load: Parameters are specified through `PROPERTIES`, e.g.,
`PROPERTIES("jsonpaths"="$.data")`
4. TVF: Parameters are specified in TVF statements, e.g.,
`S3("jsonpaths"="$.data")`
+5. If you need to load the JSON object at the root node of a JSON file, the
jsonpaths should be specified as $., e.g., PROPERTIES("jsonpaths"="$.")
:::
### Parameter Description
diff --git
a/versioned_docs/version-2.1/data-operate/import/import-way/broker-load-manual.md
b/versioned_docs/version-2.1/data-operate/import/import-way/broker-load-manual.md
index 03f2dc7b929..e166783f6d5 100644
---
a/versioned_docs/version-2.1/data-operate/import/import-way/broker-load-manual.md
+++
b/versioned_docs/version-2.1/data-operate/import/import-way/broker-load-manual.md
@@ -785,6 +785,9 @@ The `jsonpaths` can also be used in conjunction with the
column list and `SET (c
"hadoop.username"="user"
);
```
+:::info Note
+If you need to load the JSON object at the root node of a JSON file, the
jsonpaths should be specified as $., e.g., `PROPERTIES("jsonpaths"="$.")`"
+:::
### Load from other brokers
diff --git
a/versioned_docs/version-2.1/data-operate/import/import-way/routine-load-manual.md
b/versioned_docs/version-2.1/data-operate/import/import-way/routine-load-manual.md
index 3e727ad9e9d..c45634319e1 100644
---
a/versioned_docs/version-2.1/data-operate/import/import-way/routine-load-manual.md
+++
b/versioned_docs/version-2.1/data-operate/import/import-way/routine-load-manual.md
@@ -188,6 +188,9 @@ In Doris, you can create persistent Routine Load tasks
using the `CREATE ROUTIN
"kafka_broker_list" = "192.168.88.62:9092"
);
```
+:::info Note
+If you need to load the JSON object at the root node of a JSON file, the
jsonpaths should be specified as $., e.g., `PROPERTIES("jsonpaths"="$.")`"
+:::
### Viewing Status
diff --git
a/versioned_docs/version-2.1/data-operate/import/import-way/stream-load-manual.md
b/versioned_docs/version-2.1/data-operate/import/import-way/stream-load-manual.md
index 9763a166814..667144aeab0 100644
---
a/versioned_docs/version-2.1/data-operate/import/import-way/stream-load-manual.md
+++
b/versioned_docs/version-2.1/data-operate/import/import-way/stream-load-manual.md
@@ -207,6 +207,8 @@ curl --location-trusted -u <doris_user>:<doris_password> \
:::info Note
If the JSON file is not a JSON array but each line is a JSON object, add the
headers `-H "strip_outer_array:false"` and `-H "read_json_by_line:true"`.
+
+If you need to load the JSON object at the root node of a JSON file, the
jsonpaths should be specified as $., e.g., `-H "jsonpaths:[\"$.\"]`"
:::
Stream Load is a synchronous method, where the result is directly
returned to the user.
diff --git a/versioned_docs/version-3.0/data-operate/import/file-format/json.md
b/versioned_docs/version-3.0/data-operate/import/file-format/json.md
index f3c2bc4d704..75021b502c7 100644
--- a/versioned_docs/version-3.0/data-operate/import/file-format/json.md
+++ b/versioned_docs/version-3.0/data-operate/import/file-format/json.md
@@ -113,6 +113,7 @@ The following table lists the JSON format parameters
supported by various loadin
2. Broker Load: Parameters are specified through `PROPERTIES`, e.g.,
`PROPERTIES("jsonpaths"="$.data")`
3. Routine Load: Parameters are specified through `PROPERTIES`, e.g.,
`PROPERTIES("jsonpaths"="$.data")`
4. TVF: Parameters are specified in TVF statements, e.g.,
`S3("jsonpaths"="$.data")`
+5. If you need to load the JSON object at the root node of a JSON file, the
jsonpaths should be specified as $., e.g., PROPERTIES("jsonpaths"="$.")
:::
### Parameter Description
diff --git
a/versioned_docs/version-3.0/data-operate/import/import-way/broker-load-manual.md
b/versioned_docs/version-3.0/data-operate/import/import-way/broker-load-manual.md
index 03f2dc7b929..e166783f6d5 100644
---
a/versioned_docs/version-3.0/data-operate/import/import-way/broker-load-manual.md
+++
b/versioned_docs/version-3.0/data-operate/import/import-way/broker-load-manual.md
@@ -785,6 +785,9 @@ The `jsonpaths` can also be used in conjunction with the
column list and `SET (c
"hadoop.username"="user"
);
```
+:::info Note
+If you need to load the JSON object at the root node of a JSON file, the
jsonpaths should be specified as $., e.g., `PROPERTIES("jsonpaths"="$.")`"
+:::
### Load from other brokers
diff --git
a/versioned_docs/version-3.0/data-operate/import/import-way/routine-load-manual.md
b/versioned_docs/version-3.0/data-operate/import/import-way/routine-load-manual.md
index ef0dfe9d3b8..8ff73c303b6 100644
---
a/versioned_docs/version-3.0/data-operate/import/import-way/routine-load-manual.md
+++
b/versioned_docs/version-3.0/data-operate/import/import-way/routine-load-manual.md
@@ -188,6 +188,9 @@ In Doris, you can create persistent Routine Load tasks
using the `CREATE ROUTIN
"kafka_broker_list" = "192.168.88.62:9092"
);
```
+:::info Note
+If you need to load the JSON object at the root node of a JSON file, the
jsonpaths should be specified as $., e.g., `PROPERTIES("jsonpaths"="$.")`"
+:::
### Viewing Status
diff --git
a/versioned_docs/version-3.0/data-operate/import/import-way/stream-load-manual.md
b/versioned_docs/version-3.0/data-operate/import/import-way/stream-load-manual.md
index 988a8a38ba4..f464792675d 100644
---
a/versioned_docs/version-3.0/data-operate/import/import-way/stream-load-manual.md
+++
b/versioned_docs/version-3.0/data-operate/import/import-way/stream-load-manual.md
@@ -207,6 +207,8 @@ curl --location-trusted -u <doris_user>:<doris_password> \
:::info Note
If the JSON file is not a JSON array but each line is a JSON object, add the
headers `-H "strip_outer_array:false"` and `-H "read_json_by_line:true"`.
+
+If you need to load the JSON object at the root node of a JSON file, the
jsonpaths should be specified as $., e.g., `-H "jsonpaths:[\"$.\"]`"
:::
Stream Load is a synchronous method, where the result is directly
returned to the user.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]