You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by GitBox <gi...@apache.org> on 2021/10/17 09:27:05 UTC

[GitHub] [drill-site] kingswanwho opened a new pull request #12: [DOC UPDATE] Translate Tutorial to Chinese 12/15

kingswanwho opened a new pull request #12:
URL: https://github.com/apache/drill-site/pull/12


   # [DOC UPDATE] Translate Tutorial to Chinese 12/15
   
   ## Description
   
   Translate a tutorial to Chinese:
   
   030-lesson-1-learn-about-the-data-set.md
   
   Overall 12 tutorials have been translated, 3 tutorials to go.
   
   ## Documentation
   
   Please refer to Chinese tutorial.
   
   ## Testing
   
   This is a doc update, no test here.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@drill.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [drill-site] kingswanwho commented on a change in pull request #12: [DOC UPDATE] Translate Tutorial to Chinese 12/15

Posted by GitBox <gi...@apache.org>.
kingswanwho commented on a change in pull request #12:
URL: https://github.com/apache/drill-site/pull/12#discussion_r730414473



##########
File path: _docs/zh/tutorials/learn-drill-with-the-mapr-sandbox/030-lesson-1-learn-about-the-data-set.md
##########
@@ -335,27 +276,19 @@ or characters.
     |-----------|-------------|-----------|---------------------------------------------------|---------------------|----------------------------------------|
     2 rows selected 
 
-Notice that with a select * query, any complex data types such as maps and
-arrays return as JSON strings. You will see how to unpack this data using
-various SQL functions and operators in the next lesson.
+请注意,使用 select * 查询,任何复杂数据类型(例如映射和数组)都以 JSON 字符串形式返回。在下一课中,将学习如何使用各种 SQL 函数和运算符来解包这些数据。
 
-## Query Logs Data
+## 查询日志数据
 
-Unlike the previous example where we performed queries against clicks data in
-one file, logs data is stored as partitioned directories on the file system.
-The logs directory has three subdirectories:
+与前一个示例中对文件中的点击数据执行查询不同,日志数据存储为文件系统上的分区目录。日志目录有三个子目录:
 
   * 2012
   * 2013
   * 2014
 
-Each of these year directories fans out to a set of numbered month
-directories, and each month directory contains a JSON file with log records
-for that month. The total number of records in all log files is 48000.
+这些年目录中都包含多个月目录,每个月目录都包含一个带有该月日志记录的 JSON 文件。所有日志文件总共包含 48000 条记录。
 
-The files in the logs directory and its subdirectories are JSON files. There
-are many of these files, but you can use Drill to query them all as a single
-data source, or to query a subset of the files.
+logs 目录及其子目录中是 JSON 文件。这些文件有很多,但用户可以使用 Drill 将它们全部作为单个数据源进行查询,或者查询文件的子集。
 
 ### Set the workspace to dfs.logs:

Review comment:
       resovled




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@drill.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [drill-site] luocooong merged pull request #12: [DOC UPDATE] Translate Tutorial to Chinese 12/15

Posted by GitBox <gi...@apache.org>.
luocooong merged pull request #12:
URL: https://github.com/apache/drill-site/pull/12


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@drill.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [drill-site] luocooong commented on a change in pull request #12: [DOC UPDATE] Translate Tutorial to Chinese 12/15

Posted by GitBox <gi...@apache.org>.
luocooong commented on a change in pull request #12:
URL: https://github.com/apache/drill-site/pull/12#discussion_r730393304



##########
File path: _docs/zh/tutorials/learn-drill-with-the-mapr-sandbox/030-lesson-1-learn-about-the-data-set.md
##########
@@ -335,27 +276,19 @@ or characters.
     |-----------|-------------|-----------|---------------------------------------------------|---------------------|----------------------------------------|
     2 rows selected 
 
-Notice that with a select * query, any complex data types such as maps and
-arrays return as JSON strings. You will see how to unpack this data using
-various SQL functions and operators in the next lesson.
+请注意,使用 select * 查询,任何复杂数据类型(例如映射和数组)都以 JSON 字符串形式返回。在下一课中,将学习如何使用各种 SQL 函数和运算符来解包这些数据。
 
-## Query Logs Data
+## 查询日志数据
 
-Unlike the previous example where we performed queries against clicks data in
-one file, logs data is stored as partitioned directories on the file system.
-The logs directory has three subdirectories:
+与前一个示例中对文件中的点击数据执行查询不同,日志数据存储为文件系统上的分区目录。日志目录有三个子目录:
 
   * 2012
   * 2013
   * 2014
 
-Each of these year directories fans out to a set of numbered month
-directories, and each month directory contains a JSON file with log records
-for that month. The total number of records in all log files is 48000.
+这些年目录中都包含多个月目录,每个月目录都包含一个带有该月日志记录的 JSON 文件。所有日志文件总共包含 48000 条记录。
 
-The files in the logs directory and its subdirectories are JSON files. There
-are many of these files, but you can use Drill to query them all as a single
-data source, or to query a subset of the files.
+logs 目录及其子目录中是 JSON 文件。这些文件有很多,但用户可以使用 Drill 将它们全部作为单个数据源进行查询,或者查询文件的子集。
 
 ### Set the workspace to dfs.logs:

Review comment:
       Loss the Chinese word, and the next title.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@drill.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [drill-site] kingswanwho commented on a change in pull request #12: [DOC UPDATE] Translate Tutorial to Chinese 12/15

Posted by GitBox <gi...@apache.org>.
kingswanwho commented on a change in pull request #12:
URL: https://github.com/apache/drill-site/pull/12#discussion_r730414473



##########
File path: _docs/zh/tutorials/learn-drill-with-the-mapr-sandbox/030-lesson-1-learn-about-the-data-set.md
##########
@@ -335,27 +276,19 @@ or characters.
     |-----------|-------------|-----------|---------------------------------------------------|---------------------|----------------------------------------|
     2 rows selected 
 
-Notice that with a select * query, any complex data types such as maps and
-arrays return as JSON strings. You will see how to unpack this data using
-various SQL functions and operators in the next lesson.
+请注意,使用 select * 查询,任何复杂数据类型(例如映射和数组)都以 JSON 字符串形式返回。在下一课中,将学习如何使用各种 SQL 函数和运算符来解包这些数据。
 
-## Query Logs Data
+## 查询日志数据
 
-Unlike the previous example where we performed queries against clicks data in
-one file, logs data is stored as partitioned directories on the file system.
-The logs directory has three subdirectories:
+与前一个示例中对文件中的点击数据执行查询不同,日志数据存储为文件系统上的分区目录。日志目录有三个子目录:
 
   * 2012
   * 2013
   * 2014
 
-Each of these year directories fans out to a set of numbered month
-directories, and each month directory contains a JSON file with log records
-for that month. The total number of records in all log files is 48000.
+这些年目录中都包含多个月目录,每个月目录都包含一个带有该月日志记录的 JSON 文件。所有日志文件总共包含 48000 条记录。
 
-The files in the logs directory and its subdirectories are JSON files. There
-are many of these files, but you can use Drill to query them all as a single
-data source, or to query a subset of the files.
+logs 目录及其子目录中是 JSON 文件。这些文件有很多,但用户可以使用 Drill 将它们全部作为单个数据源进行查询,或者查询文件的子集。
 
 ### Set the workspace to dfs.logs:

Review comment:
       resolved




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@drill.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org