This is an automated email from the ASF dual-hosted git repository. shaofengshi pushed a commit to branch document in repository https://gitbox.apache.org/repos/asf/kylin.git
The following commit(s) were added to refs/heads/document by this push: new eacfb18 minor update on sql_reference doc eacfb18 is described below commit eacfb18d9d56bce7f22b5f7ffffbec0cde9ddf3f Author: shaofengshi <shaofeng...@apache.org> AuthorDate: Wed Jan 30 22:47:02 2019 +0800 minor update on sql_reference doc --- website/_docs/tutorial/sql_reference.cn.md | 2 +- website/_docs/tutorial/sql_reference.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/website/_docs/tutorial/sql_reference.cn.md b/website/_docs/tutorial/sql_reference.cn.md index 263c740..d645fff 100644 --- a/website/_docs/tutorial/sql_reference.cn.md +++ b/website/_docs/tutorial/sql_reference.cn.md @@ -5,7 +5,7 @@ categories: tutorial permalink: /cn/docs/tutorial/sql_reference.html --- -Kylin 是使用 Calcite 进行查询的,原则上 Kylin 支持所有 Calcite 能够识别的语句。 +Apache Kylin 使用 Apache Calcite 做 SQL 解析和优化。作为一款 OLAP 引擎, Kylin 支持 `SELECT` 操作,而不支持其它操作例如 `INSERT`,`UPDATE` 和 `DELETE`,因此 Kylin 的 SQL 语法是 Apache Calcite 支持语法的一个子集。本文列举了 Kylin 支持的 SQL 语法、函数以及数据类型,但可能并不完整。您可以查看 [Calcite SQL reference](https://calcite.apache.org/docs/reference.html) 以了解更多内容。 ## 语法 [QUERY SYNTAX](#QUERYSYNTAX) diff --git a/website/_docs/tutorial/sql_reference.md b/website/_docs/tutorial/sql_reference.md index 4af4709..d352773 100644 --- a/website/_docs/tutorial/sql_reference.md +++ b/website/_docs/tutorial/sql_reference.md @@ -5,7 +5,7 @@ categories: tutorial permalink: /docs/tutorial/sql_reference.html --- -Kylin uses Calcite for the query. In principle, Kylin supports all statements that Calcite recognizes. +Apache Kylin relies on Apache Calcite to parse and optimize the SQL statements. As an OLAP engine, Kylin supports `SELECT` statements, while doesn't support others like `INSERT`, `UPDATE` and `DELETE` operations in SQL, so Kylin's SQL grammer is a subset of Apache Calcite. This page lists the SQL grammar, the functions and the basic data types that Kylin supports. You can also check [Calcite SQL reference](https://calcite.apache.org/docs/reference.html) for more detailed info. ## Grammar