xintongsong commented on a change in pull request #9784: [FLINK-13485] 
[chinese-translation] Translate "Table API Example Walkthrough" page into 
Chinese
URL: https://github.com/apache/flink/pull/9784#discussion_r334333525
 
 

 ##########
 File path: docs/getting-started/walkthroughs/table_api.zh.md
 ##########
 @@ -181,16 +185,16 @@ tEnv.registerTableSink("spend_report", new 
SpendReportTableSink)
 </div>
 </div>
 
-Two tables are registered; a transaction input table, and a spend report 
output table.
-The transactions (`transactions`) table lets us read credit card transactions, 
which contain account ID's (`accountId`), timestamps (`timestamp`), and US$ 
amounts (`amount`).
-In this tutorial, the table is backed by data generated in memory to avoid any 
dependencies on external systems.
-In practice, the `BoundedTransactionTableSource` may be backed by a 
filesystem, a database, or any other static source.
-The spend report (`spend_report`) table logs each row with log level **INFO**, 
instead of writing to persistent storage, so you can easily see your results.
+上例代码注册了两张表。交易表作为输入表,支出报告表作为输出表。
+我们可以从交易(`transactions`)表中读取信用卡的交易记录,其中包含了账户 
ID(`accountId`)字段、时间戳(`timestamp`)字段和交易金额(`amount`)字段。
+本教程中,该表使用内存中的数据,以避免对外部系统的任何依赖。
+而在实际情况下,`BoundedTransactionTableSource` 可能来源于文件系统、数据库或任何静态数据源。
+支出报告表 `spend_report` 用 **INFO** 日志级别记录每一行日志,而不是写入持久化存储,所以你可以很容易地查看结果。
 
 Review comment:
   这里应该不是记录不是每一行日志,而是将表的每一行数据记录到日志

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to