This is an automated email from the ASF dual-hosted git repository.

jiafengzheng 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 825acf95d34 [typo](doc) fix doc table name (#153)
825acf95d34 is described below

commit 825acf95d344f3500d70850e9617c819c8af46bd
Author: TaoZex <45089228+tao...@users.noreply.github.com>
AuthorDate: Thu Nov 10 11:50:01 2022 +0800

    [typo](doc) fix doc table name (#153)
---
 docs/get-starting/get-starting.md                              | 10 +++++-----
 .../current/get-starting/get-starting.md                       | 10 +++++-----
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/docs/get-starting/get-starting.md 
b/docs/get-starting/get-starting.md
index e86939f80c3..8a86256f17c 100644
--- a/docs/get-starting/get-starting.md
+++ b/docs/get-starting/get-starting.md
@@ -279,7 +279,7 @@ create database demo;
 ```sql
 use demo;
 
-CREATE TABLE IF NOT EXISTS demo.expamle_tbl
+CREATE TABLE IF NOT EXISTS demo.example_tbl
 (
     `user_id` LARGEINT NOT NULL COMMENT "user id",
     `date` DATE NOT NULL COMMENT "",
@@ -317,7 +317,7 @@ Save the above data in a test.csv file.
 Here we import the data saved to the file above into the table we just created 
via Stream load。
 
 ```
-curl  --location-trusted -u root: -T test.csv -H "column_separator:," 
http://127.0.0.1:8030/api/demo/expamle_tbl/_stream_load
+curl  --location-trusted -u root: -T test.csv -H "column_separator:," 
http://127.0.0.1:8030/api/demo/example_tbl/_stream_load
 ```
 
 - -T test.csv : This is the data file we just saved, if the path is different, 
please specify the full path
@@ -360,7 +360,7 @@ Here we have finished importing the data, and we can now 
query and analyze the d
 We have finished building tables and importing data above, so we can 
experience Doris' ability to quickly query and analyze data.
 
 ```sql
-mysql> select * from expamle_tbl;
+mysql> select * from example_tbl;
 
+---------+------------+-----------+------+------+---------------------+------+----------------+----------------+
 | user_id | date       | city      | age  | sex  | last_visit_date     | cost 
| max_dwell_time | min_dwell_time |
 
+---------+------------+-----------+------+------+---------------------+------+----------------+----------------+
@@ -374,7 +374,7 @@ mysql> select * from expamle_tbl;
 
+---------+------------+-----------+------+------+---------------------+------+----------------+----------------+
 7 rows in set (0.01 sec)
 
-mysql> select * from expamle_tbl where city='shanghai';
+mysql> select * from example_tbl where city='shanghai';
 
+---------+------------+----------+------+------+---------------------+------+----------------+----------------+
 | user_id | date       | city     | age  | sex  | last_visit_date     | cost | 
max_dwell_time | min_dwell_time |
 
+---------+------------+----------+------+------+---------------------+------+----------------+----------------+
@@ -382,7 +382,7 @@ mysql> select * from expamle_tbl where city='shanghai';
 
+---------+------------+----------+------+------+---------------------+------+----------------+----------------+
 1 row in set (0.00 sec)
 
-mysql> select city, sum(cost) as total_cost from expamle_tbl group by city;
+mysql> select city, sum(cost) as total_cost from example_tbl group by city;
 +-----------+------------+
 | city      | total_cost |
 +-----------+------------+
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/get-starting/get-starting.md
 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/get-starting/get-starting.md
index 67b7b09c584..fa20b0fe008 100644
--- 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/get-starting/get-starting.md
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/get-starting/get-starting.md
@@ -283,7 +283,7 @@ create database demo;
 ```sql
 use demo;
 
-CREATE TABLE IF NOT EXISTS demo.expamle_tbl
+CREATE TABLE IF NOT EXISTS demo.example_tbl
 (
     `user_id` LARGEINT NOT NULL COMMENT "用户id",
     `date` DATE NOT NULL COMMENT "数据灌入日期时间",
@@ -321,7 +321,7 @@ PROPERTIES (
 这里我们通过Stream load 方式将上面保存到文件中的数据导入到我们刚才创建的表里。
 
 ```
-curl  --location-trusted -u root: -T test.csv -H "column_separator:," 
http://127.0.0.1:8030/api/demo/expamle_tbl/_stream_load
+curl  --location-trusted -u root: -T test.csv -H "column_separator:," 
http://127.0.0.1:8030/api/demo/example_tbl/_stream_load
 ```
 
 - -T test.csv : 这里是我们刚才保存的数据文件,如果路径不一样,请指定完整路径
@@ -364,7 +364,7 @@ curl  --location-trusted -u root: -T test.csv -H 
"column_separator:," http://127
 我们上面完成了建表,输数据导入,下面我们就可以体验 Doris 的数据快速查询分析能力。
 
 ```sql
-mysql> select * from expamle_tbl;
+mysql> select * from example_tbl;
 
+---------+------------+--------+------+------+---------------------+------+----------------+----------------+
 | user_id | date       | city   | age  | sex  | last_visit_date     | cost | 
max_dwell_time | min_dwell_time |
 
+---------+------------+--------+------+------+---------------------+------+----------------+----------------+
@@ -377,7 +377,7 @@ mysql> select * from expamle_tbl;
 
+---------+------------+--------+------+------+---------------------+------+----------------+----------------+
 6 rows in set (0.02 sec)
 
-mysql> select * from expamle_tbl where city='上海';
+mysql> select * from example_tbl where city='上海';
 
+---------+------------+--------+------+------+---------------------+------+----------------+----------------+
 | user_id | date       | city   | age  | sex  | last_visit_date     | cost | 
max_dwell_time | min_dwell_time |
 
+---------+------------+--------+------+------+---------------------+------+----------------+----------------+
@@ -385,7 +385,7 @@ mysql> select * from expamle_tbl where city='上海';
 
+---------+------------+--------+------+------+---------------------+------+----------------+----------------+
 1 row in set (0.05 sec)
 
-mysql> select city, sum(cost) as total_cost from expamle_tbl group by city;
+mysql> select city, sum(cost) as total_cost from example_tbl group by city;
 +--------+------------+
 | city   | total_cost |
 +--------+------------+


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

Reply via email to