worker24h commented on a change in pull request #3553:
URL: https://github.com/apache/incubator-doris/pull/3553#discussion_r427115347



##########
File path: docs/zh-CN/sql-reference/sql-statements/Data Manipulation/STREAM 
LOAD.md
##########
@@ -127,7 +142,35 @@ under the License.
     9. 导入含有BITMAP列的表,可以是表中的列或者数据中的列用于生成BITMAP列,也可以使用bitmap_empty填充空的Bitmap
         curl --location-trusted -u root -H "columns: k1, k2, v1=to_bitmap(k1), 
v2=bitmap_empty()" -T testData http://host:port/api/testDb/testTbl/_stream_load
 
- 
+    10. 简单模式,导入json数据
+         表结构: 
+           `category` varchar(512) NULL COMMENT "",
+           `author` varchar(512) NULL COMMENT "",
+           `title` varchar(512) NULL COMMENT "",
+           `price` double NULL COMMENT ""
+       json数据格式:
+           {"category":"C++","author":"avc","title":"C++ primer","price":895}
+         导入命令:
+           curl --location-trusted -u root  -H "label:123" -H "format: json" 
-T testData http://host:port/api/testDb/testTbl/_stream_load
+         为了提升吞吐量,支持一次性导入条数据,json数据格式如下:
+           {"RECORDS":[
+               {"category":"C++","author":"avc","title":"C++ 
primer","price":89.5},
+               {"category":"Java","author":"avc","title":"Effective 
Java","price":95},
+               {"category":"Linux","author":"avc","title":"Linux 
kernel","price":195}
+              ]}

Review comment:
       ok, i changed




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to