Skip to content

[DOC UPDATE] Translate Tutorial to Chinese 14/15#14

Merged
luocooong merged 1 commit intoapache:masterfrom
kingswanwho:zh-tutorial-translation
Nov 14, 2021
Merged

[DOC UPDATE] Translate Tutorial to Chinese 14/15#14
luocooong merged 1 commit intoapache:masterfrom
kingswanwho:zh-tutorial-translation

Conversation

@kingswanwho
Copy link
Copy Markdown
Contributor

[DOC UPDATE] Translate Tutorial to Chinese 14/15

Description

Translate a tutorial to Chinese:

050-lesson-3-run-queries-on-complex-data-types.md

Overall 14 tutorials have been translated, 1 tutorials to go.

Documentation

Please refer to Chinese tutorial.

Testing

This is a doc update, no test here.

Copy link
Copy Markdown
Member

@luocooong luocooong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kingswanwho Thanks, please note the comments.


Now that you have run ANSI SQL queries against different tables and files with
relational data, you can try some examples including complex types.
之前已经对含有关系数据的表和文件运行了 ANSI SQL 查询,针对复杂数据类型再做一些示例查询
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a colon at the end, and more, please check them.

* Demonstrate simple ways to access complex data in JSON files.
* Demonstrate the repeated_count function to aggregate values in an array.
* 在单个 SELECT 语句中访问文件的目录和子目录。
* 轻松访问 JSON 文件中复杂数据的方法
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a period, and more, please check them.


This query groups the aggregate function by customer ID and month for one
year: 2014.
此查询指定在2014年中根据客户 ID 和月份使用聚合函数进行分组
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Too.

Drill provides some specialized operators and functions that you can use to
analyze nested data natively without transformation. If you are familiar with
JavaScript notation, you will already know how some of these extensions work.
Drill 提供了一些专门的操作符和函数,无需转换即可用来分析嵌套数据。如果用户熟悉 JSON,就可以轻松掌握这些扩展功能
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Too.

@@ -6,36 +6,29 @@ lang: "zh"
---
## Goal
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Goal > 目标

5 rows selected

### For which transactions did customers search on at least 21 products?
### 哪些交易客户搜索了至少 21 种产品:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use ?

@kingswanwho kingswanwho force-pushed the zh-tutorial-translation branch from f5311ea to 8de7762 Compare November 14, 2021 14:20
Copy link
Copy Markdown
Member

@luocooong luocooong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. +1

@luocooong luocooong merged commit 0aa7cdf into apache:master Nov 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants