Browse Source

fix doc

Signed-off-by: Rui-Gan <1171530954@qq.com>
Rui-Gan 2 năm trước cách đây
mục cha
commit
082da1a7a7

+ 1 - 1
docs/en_US/edgex/edgex_rule_engine_tutorial.md

@@ -349,5 +349,5 @@ Current rule does not filter any data that are sent to eKuiper, so how to filter
  If you want to explore more features of eKuiper, please refer to below resources.
  If you want to explore more features of eKuiper, please refer to below resources.
 
 
 - [eKuiper Github code repository](https://github.com/lf-edge/ekuiper/)
 - [eKuiper Github code repository](https://github.com/lf-edge/ekuiper/)
-- [eKuiper reference guide](https://github.com/lf-edge/ekuiper/blob/edgex/docs/en_US/reference.md)
+- [eKuiper reference guide](../guide/streams/overview.md)
 
 

+ 1 - 1
docs/en_US/getting_started/getting_started.md

@@ -109,7 +109,7 @@ default:
   server: "tcp://127.0.0.1:1883"
   server: "tcp://127.0.0.1:1883"
 ```
 ```
 
 
-You can use command `kuiper show streams` to see if the `demo` stream was created or not.
+You can use command `bin/kuiper show streams` to see if the `demo` stream was created or not.
 
 
 ### Testing the stream through query tool
 ### Testing the stream through query tool
 
 

+ 7 - 7
docs/en_US/guide/streams/overview.md

@@ -30,14 +30,14 @@ Below is the list of data types supported.
 
 
 | #   | Data type | Description                                                                                                               |
 | #   | Data type | Description                                                                                                               |
 |-----|-----------|---------------------------------------------------------------------------------------------------------------------------|
 |-----|-----------|---------------------------------------------------------------------------------------------------------------------------|
-| 1   | bigint    |                                                                                                                           |
-| 2   | float     |                                                                                                                           |
-| 3   | string    |                                                                                                                           |
-| 4   | datetime  |                                                                                                                           |
-| 5   | boolean   |                                                                                                                           |
-| 6   | bytea     | A sequence of bytes to store binary data. If the stream format is "JSON", the bytea field must be a base64 encoded string |
+| 1   | bigint    | The int type.                                     |
+| 2   | float     | The float type.                                   |
+| 3   | string    | Text values, comprised of Unicode characters.     |
+| 4   | datetime  | datetime type.                                    |
+| 5   | boolean   |The boolean type, the value could be `true` or `false`.|
+| 6   | bytea     | A sequence of bytes to store binary data. If the stream format is "JSON", the bytea field must be a base64 encoded string. |
 | 7   | array     | The array type, can be any simple types or array and type.                                                                |
 | 7   | array     | The array type, can be any simple types or array and type.                                                                |
-| 8   | struct    | The complex type.                                                                                                         |
+| 8   | struct    | The complex type.                                 |
 
 
 ### Stream Properties
 ### Stream Properties
 
 

+ 4 - 3
docs/en_US/sqls/data_types.md

@@ -13,10 +13,11 @@ Below is the list of data types supported.
 | 1   | bigint    | The int type.                                                                     |
 | 1   | bigint    | The int type.                                                                     |
 | 2   | float     | The float type.                                                                   |
 | 2   | float     | The float type.                                                                   |
 | 3   | string    | Text values, comprised of Unicode characters.                                     |
 | 3   | string    | Text values, comprised of Unicode characters.                                     |
-| 4   | datetime  | datatime type.                                                                    |
+| 4   | datetime  | datetime type.                                                                    |
 | 5   | boolean   | The boolean type, the value could be `true` or `false`.                           |
 | 5   | boolean   | The boolean type, the value could be `true` or `false`.                           |
-| 6   | array     | The array type, can be any types from simple data or struct type                  |
-| 7   | struct    | The complex type. Set of name/value pairs. Values must be of supported data type. |
+| 6   | bytea     | A sequence of bytes to store binary data. If the stream format is "JSON", the bytea field must be a base64 encoded string.                  |
+| 7   | array     | The array type, can be any types from simple data or struct type.                  |
+| 8   | struct    | The complex type. Set of name/value pairs. Values must be of supported data type. |
 
 
 ## Compatibility of comparison and calculation
 ## Compatibility of comparison and calculation
 
 

+ 1 - 1
docs/zh_CN/edgex/edgex_rule_engine_tutorial.md

@@ -336,5 +336,5 @@ Connecting to 127.0.0.1:20498...
 如想了解更多的 LF Edge eKuiper 的信息,请参考以下资源。
 如想了解更多的 LF Edge eKuiper 的信息,请参考以下资源。
 
 
 - [eKuiper Github 代码库](https://github.com/lf-edge/ekuiper/)
 - [eKuiper Github 代码库](https://github.com/lf-edge/ekuiper/)
-- [eKuiper 参考指南](https://github.com/lf-edge/ekuiper/blob/master/docs/zh_CN/reference.md)
+- [eKuiper 参考指南](../guide/streams/overview.md)
 
 

+ 1 - 1
docs/zh_CN/getting_started/getting_started.md

@@ -109,7 +109,7 @@ default:
   server: "tcp://127.0.0.1:1883"
   server: "tcp://127.0.0.1:1883"
 ```
 ```
 
 
-您可以使用 `kuiper show streams` 命令来查看是否创建了 `demo` 流。
+您可以使用 `bin/kuiper show streams` 命令来查看是否创建了 `demo` 流。
 
 
 ### 通过查询工具测试流
 ### 通过查询工具测试流
 
 

+ 6 - 6
docs/zh_CN/guide/streams/overview.md

@@ -30,14 +30,14 @@ CREATE STREAM
 
 
 | #   | 数据类型     | 说明                                                             |
 | #   | 数据类型     | 说明                                                             |
 |-----|----------|----------------------------------------------------------------|
 |-----|----------|----------------------------------------------------------------|
-| 1   | bigint   |                                                                |
-| 2   | float    |                                                                |
-| 3   | string   |                                                                |
-| 4   | datetime |                                                                |
-| 5   | boolean  |                                                                |
+| 1   | bigint   | 整数型。                                                        |
+| 2   | float    | 浮点型。                                                        |
+| 3   | string   | 文本值,由 Unicode 字符组成。                                     |
+| 4   | datetime | 日期时间类型。                                                   |
+| 5   | boolean  | 布尔类型,值可以是`true` 或者 `false`。                            |
 | 6   | bytea    | 用于存储二进制数据的字节数组。如果在格式为 "JSON" 的流中使用此类型,则传入的数据需要为 base64 编码的字符串。 |
 | 6   | bytea    | 用于存储二进制数据的字节数组。如果在格式为 "JSON" 的流中使用此类型,则传入的数据需要为 base64 编码的字符串。 |
 | 7   | array    | 数组类型可以是任何简单类型,数组类型或结构类型。                                       |
 | 7   | array    | 数组类型可以是任何简单类型,数组类型或结构类型。                                       |
-| 8   | struct   | 复杂类型                                                           |
+| 8   | struct   | 复杂类型                                                      |
 
 
 ### 流属性
 ### 流属性
 
 

+ 3 - 2
docs/zh_CN/sqls/data_types.md

@@ -15,8 +15,9 @@
 | 3   | string   | 文本值,由 Unicode 字符组成。           |
 | 3   | string   | 文本值,由 Unicode 字符组成。           |
 | 4   | datetime | 日期时间类型。                       |
 | 4   | datetime | 日期时间类型。                       |
 | 5   | boolean  | 布尔类型,值可以是`true` 或者 `false`。   |
 | 5   | boolean  | 布尔类型,值可以是`true` 或者 `false`。   |
-| 6   | array    | 数组类型可以是简单数据或结构类型中的任何类型。       |
-| 7   | struct   | 复杂类型。 名称/值对的集合。 值必须是受支持的数据类型。 |
+| 6   | bytea    | 用于存储二进制数据的字节数组。如果在格式为 "JSON" 的流中使用此类型,则传入的数据需要为 base64 编码的字符串。       |
+| 7   | array    | 数组类型可以是简单数据或结构类型中的任何类型。       |
+| 8   | struct   | 复杂类型。 名称/值对的集合。 值必须是受支持的数据类型。 |
 
 
 ## 比较和计算的兼容性
 ## 比较和计算的兼容性