Optimized some descriptions in the documents.
This commit is contained in:
parent
e8a3d0f239
commit
13aa4e32c5
|
|
@ -472,7 +472,7 @@ Heuristic index is external index module that which can be used to filter to out
|
|||
| `hetu.filter.indexstore.hdfs.krb5.keytab.path` | YES if auth type set to KERBEROS | Path to the kerberos keytab file |
|
||||
| `hetu.filter.indexstore.hdfs.krb5.principal` | YES if auth type set to KERBEROS | Principal of kerberos authentication |
|
||||
|
||||
##Execution Plan Cache Properties
|
||||
## Execution Plan Cache Properties
|
||||
|
||||
Execution plan cache feature allows the coordinator to reuse execution plans between identical queries, instead
|
||||
of constructing another execution plan, thus reducing the amount of query pre-processing required.
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ A utility class ``FileBasedLock`` located in SPI can provide exclusive access on
|
|||
The filesystem clients are implemented as openLooKeng Plugins. The implementations are placed in the ``hetu-filesystem-client`` module, where one factory extending ``HetuFileSystemClientFactory`` must be implemented and registered in ``HetuFileSystemClientPlugin``.
|
||||
|
||||
## Filesystem Profiles
|
||||
A filesystem profile must contain a type field::
|
||||
A filesystem profile must contain a type field:
|
||||
|
||||
fs.client.type=<filesystem type>
|
||||
|
||||
|
|
|
|||
|
|
@ -229,7 +229,7 @@ or:
|
|||
bash /opt/openlookeng/bin/add_cluster_node.sh --file <add_nodes_file_path>
|
||||
```
|
||||
|
||||
If there are multiple nodes,separated by commas(,).
|
||||
If there are multiple nodes, separated by commas(,).
|
||||
|
||||
## Removing Node to Cluster
|
||||
|
||||
|
|
|
|||
|
|
@ -38,5 +38,4 @@ Only Hive connector support this functionality at this time. See connector docum
|
|||
See Also
|
||||
--------
|
||||
|
||||
[SHOW CACHE](./show-cache.md)
|
||||
[DROP CACHE](./drop-cache.md)
|
||||
[SHOW CACHE](./show-cache.md), [DROP CACHE](./drop-cache.md)
|
||||
|
|
|
|||
|
|
@ -25,5 +25,4 @@ COMMIT WORK;
|
|||
See Also
|
||||
--------
|
||||
|
||||
[ROLLBACK](./rollback.md)
|
||||
[START TRANSACTION](./start-transaction.md)
|
||||
[ROLLBACK](./rollback.md), [START TRANSACTION](./start-transaction.md)
|
||||
|
|
|
|||
|
|
@ -36,4 +36,4 @@ Some connectors do not support role management. See connector documentation for
|
|||
See Also
|
||||
--------
|
||||
|
||||
[DROP ROLE](./drop-role.md), [SET ROLE](./set-role.md), [GRANT ROLES](./grant-roles.md),[REVOKE ROLES](./revoke-roles.md)
|
||||
[DROP ROLE](./drop-role.md), [SET ROLE](./set-role.md), [GRANT ROLES](./grant-roles.md), [REVOKE ROLES](./revoke-roles.md)
|
||||
|
|
|
|||
|
|
@ -40,4 +40,4 @@ Create the schema `traffic` if it does not already exist:
|
|||
See Also
|
||||
--------
|
||||
|
||||
[ALTER SCHEMA](./alter-schema.md) ,[DROP SCHEMA](./drop-schema.md)
|
||||
[ALTER SCHEMA](./alter-schema.md), [DROP SCHEMA](./drop-schema.md)
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ or by reaching size limit but recurring splits will not reuse any cached node as
|
|||
Examples
|
||||
--------
|
||||
|
||||
Drop cache metadata for `sales' table
|
||||
Drop cache metadata for 'sales' table
|
||||
|
||||
```sql
|
||||
DROP CACHE sales
|
||||
|
|
|
|||
|
|
@ -42,4 +42,4 @@ Some connectors do not support role management. See connector documentation for
|
|||
See Also
|
||||
--------
|
||||
|
||||
[CREATE ROLE](./create-role.md), [DROP ROLE](./drop-role).md, [SET ROLE](./set-role.md), [REVOKE ROLES](./revoke-roles.md)
|
||||
[CREATE ROLE](./create-role.md), [DROP ROLE](./drop-role.md), [SET ROLE](./set-role.md), [REVOKE ROLES](./revoke-roles.md)
|
||||
|
|
|
|||
|
|
@ -59,4 +59,4 @@ Right now only Hive Connector support insert overwrite.
|
|||
See Also
|
||||
--------
|
||||
|
||||
[VALUES](./values), [INSERT](./insert.md)
|
||||
[VALUES](./values.md), [INSERT](./insert.md)
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ Additionally, the relations within a `WITH` clause can chain:
|
|||
|
||||
**Warning**
|
||||
|
||||
*Currently, the SQL for the `WITH` clause will be inlined anywhere the* *named relation is used. This means that if the relation is used more* *than once and the query is non-deterministic, the results may be* *different each time.*
|
||||
*Currently, the SQL for the `WITH` clause will be inlined anywhere the named relation is used. This means that if the relation is used more than once and the query is non-deterministic, the results may be different each time.*
|
||||
|
||||
SELECT Clause
|
||||
-------------
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ The command requires the current catalog to be set.
|
|||
|
||||
**Note**
|
||||
|
||||
*Ensure that authentication has been enabled before running any of the* *authorization commands.*
|
||||
*Ensure that authentication has been enabled before running any of the authorization commands.*
|
||||
|
||||
Examples
|
||||
--------
|
||||
|
|
|
|||
|
|
@ -14,4 +14,4 @@ Description
|
|||
|
||||
`SHOW ROLES` lists all the roles in `catalog` or in the current catalog if `catalog` is not specified.
|
||||
|
||||
`SHOW CURRENT ROLES` lists the enabled roles for the session in `catalog, or in the current catalog if`catalog\`\` is not specified.
|
||||
`SHOW CURRENT ROLES` lists the enabled roles for the session in `catalog`, or in the current catalog if `catalog` is not specified.
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ SPI 中的实用程序类 `FileBasedLock` 可以提供对给定的文件系统
|
|||
|
||||
## 文件系统配置文件
|
||||
|
||||
文件系统配置文件必须包含一个类型字段::
|
||||
文件系统配置文件必须包含一个类型字段:
|
||||
|
||||
fs.client.type=<filesystem type>
|
||||
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ openLooKeng需要一个*数据*目录来存储日志等。我们建议在安装
|
|||
- 节点属性:每个节点特有的环境配置。
|
||||
- JVM配置:Java虚拟机的命令行选项。
|
||||
- 配置属性:openLooKeng服务器的配置。
|
||||
- 目录属性:[连接器](../connector/_index)(数据源)配置。
|
||||
- 目录属性:[连接器](../connector/_index.md)(数据源)配置。
|
||||
|
||||
### 节点属性
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
**注意**
|
||||
|
||||
*新的`TIMESTAMP`语义仍在试验中。建议* 保持原有`TIMESTAMP`语义为启用状态。您可以通过全局配置或基于每个会话配置新的语义来验证新语义**。在新版本中,可能会废弃旧版的语义。
|
||||
*新的`TIMESTAMP`语义仍在试验中。建议保持原有`TIMESTAMP`语义为启用状态。您可以通过全局配置或基于每个会话配置新的语义来验证新语义。在新版本中,可能会废弃旧版的语义。*
|
||||
|
||||
|
||||
配置
|
||||
|
|
|
|||
|
|
@ -179,6 +179,7 @@ openLooKeng有一组内置的数据类型,如下所述。可能通过插件提
|
|||
> 例如: `ARRAY[1, 2, 3]`
|
||||
|
||||
### `MAP`
|
||||
|
||||
> 指定组件类型之间的映射。
|
||||
>
|
||||
> 例如: `MAP(ARRAY['foo', 'bar'], ARRAY[1, 2])`
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@ WHERE x = 'foo'
|
|||
|
||||
## 使用UNNEST来扩展数组和映射
|
||||
|
||||
openLooKeng支持`unnest`{.interpreted-text role="ref"}用于扩展数组和映射。使用`UNNEST`代替`LATERAL VIEW explode()`。
|
||||
openLooKeng支持`unnest`用于扩展数组和映射。使用`UNNEST`代替`LATERAL VIEW explode()`。
|
||||
|
||||
Hive查询:
|
||||
|
||||
|
|
|
|||
|
|
@ -126,7 +126,7 @@ INSERT INTO table1
|
|||
|
||||
| 参数名称| 描述|
|
||||
|----------|----------|
|
||||
| `file`| 包含SQL语句的文件,以“;”分隔。 文件中的所有SQL都可以进行批量转换。|
|
||||
| `file`| 包含SQL语句的文件,以“;”分隔。文件中的所有SQL都可以进行批量转换。|
|
||||
| `sourceType`| 输入SQL语句的类型,如`hive`、`impala`。可选参数,默认值为`hive`。|
|
||||
| `output`| 转换后SQL结果的存放目录。|
|
||||
| `config`| SQL迁移工具的配置文件。|
|
||||
|
|
|
|||
|
|
@ -33,5 +33,4 @@ CACHE TABLE table_name WHERE condition
|
|||
|
||||
## 另请参见
|
||||
|
||||
[SHOW CACHE](./show-cache.md)
|
||||
[DROP CACHE](./drop-cache.md)
|
||||
[SHOW CACHE](./show-cache.md)、[DROP CACHE](./drop-cache.md)
|
||||
|
|
@ -11,7 +11,7 @@ CALL procedure_name ( [ name => ] expression [, ...] )
|
|||
|
||||
调用过程。
|
||||
|
||||
过程可以由连接器提供,以执行数据操作或管理任务。例如,`/connector/system`{.interpreted-text role="doc"} 定义了用于终止正在运行的查询的过程。
|
||||
过程可以由连接器提供,以执行数据操作或管理任务。例如,`/connector/system`定义了用于终止正在运行的查询的过程。
|
||||
|
||||
某些连接器(如 [PostgreSQL连接器](../connector/postgresql.md))用于具有其自己的存储过程的系统。这些存储过程与此处讨论的连接器定义过程相分离,因此无法通过 `CALL` 直接调用。
|
||||
|
||||
|
|
|
|||
|
|
@ -18,23 +18,23 @@ where option can be one of:
|
|||
|
||||
`SINGLE`
|
||||
|
||||
: 片段在单个节点上执行。
|
||||
片段在单个节点上执行。
|
||||
|
||||
`HASH`
|
||||
|
||||
: 片段在固定数量的节点上执行,输入数据通过哈希函数进行分布。
|
||||
片段在固定数量的节点上执行,输入数据通过哈希函数进行分布。
|
||||
|
||||
`ROUND_ROBIN`
|
||||
|
||||
: 片段在固定数量的节点上执行,输入数据以轮循方式进行分布。
|
||||
片段在固定数量的节点上执行,输入数据以轮循方式进行分布。
|
||||
|
||||
`BROADCAST`
|
||||
|
||||
: 片段在固定数量的节点上执行,输入数据广播到所有节点。
|
||||
片段在固定数量的节点上执行,输入数据广播到所有节点。
|
||||
|
||||
`SOURCE`
|
||||
|
||||
: 片段在访问输入分段的节点上执行。
|
||||
片段在访问输入分段的节点上执行。
|
||||
|
||||
## 示例
|
||||
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@ ROLLUP ( column [, ...] )
|
|||
|
||||
**警告**
|
||||
|
||||
*目前,`WITH`子句的SQL将在使用命名关系的任何位置内联。****这意味着,如果关系被多次使用,并且查询是非确定性的,那么每次的结果都可能不同。*
|
||||
*目前,`WITH`子句的SQL将在使用命名关系的任何位置内联。这意味着,如果关系被多次使用,并且查询是非确定性的,那么每次的结果都可能不同。*
|
||||
|
||||
## SELECT子句
|
||||
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ SHOW GRANTS [ ON [ TABLE ] table_name ]
|
|||
|
||||
**注意**
|
||||
|
||||
在执行任何授权命令之前,确保已启用身份验证。
|
||||
*在执行任何授权命令之前,确保已启用身份验证。*
|
||||
|
||||
## 示例
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue