You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "FangYongs (via GitHub)" <gi...@apache.org> on 2023/03/22 02:15:23 UTC

[GitHub] [flink] FangYongs opened a new pull request, #22237: [FLINK-31556][docs-zh] Translate "rest" page of "sql-gateway" into Chinese

FangYongs opened a new pull request, #22237:
URL: https://github.com/apache/flink/pull/22237

   ## What is the purpose of the change
   
   This PR aims to translate "rest" page of "sql-gateway" into Chinese
   
   
   ## Brief change log
   
     - Translate "rest.md" page of "sql-gateway" into Chinese
   
   ## Verifying this change
   
   This change is a trivial rework / code cleanup without any test coverage.
   
   ## Does this pull request potentially affect one of the following parts:
   
     - Dependencies (does it add or upgrade a dependency): (yes / no) no
     - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: (yes / no) no
     - The serializers: (yes / no / don't know) no
     - The runtime per-record code paths (performance sensitive): (yes / no / don't know) no
     - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes / no / don't know) no
     - The S3 file system connector: (yes / no / don't know) no
   
   ## Documentation
   
     - Does this pull request introduce a new feature? (yes / no) no
     - If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
   


-- 
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: issues-unsubscribe@flink.apache.org

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


[GitHub] [flink] flinkbot commented on pull request #22237: [FLINK-31556][docs-zh] Translate "rest" page of "sql-gateway" into Chinese

Posted by "flinkbot (via GitHub)" <gi...@apache.org>.
flinkbot commented on PR #22237:
URL: https://github.com/apache/flink/pull/22237#issuecomment-1478833799

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "42e8cc7327fff84fe05947d725be78e8027e626e",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "42e8cc7327fff84fe05947d725be78e8027e626e",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 42e8cc7327fff84fe05947d725be78e8027e626e UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
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: issues-unsubscribe@flink.apache.org

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


[GitHub] [flink] FangYongs commented on pull request #22237: [FLINK-31556][docs-zh] Translate "rest" page of "sql-gateway" into Chinese

Posted by "FangYongs (via GitHub)" <gi...@apache.org>.
FangYongs commented on PR #22237:
URL: https://github.com/apache/flink/pull/22237#issuecomment-1478929395

   Tests failed due to kafka connector which is not related to this PR


-- 
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: issues-unsubscribe@flink.apache.org

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


[GitHub] [flink] fsk119 commented on a diff in pull request #22237: [FLINK-31556][docs-zh] Translate "rest" page of "sql-gateway" into Chinese

Posted by "fsk119 (via GitHub)" <gi...@apache.org>.
fsk119 commented on code in PR #22237:
URL: https://github.com/apache/flink/pull/22237#discussion_r1147045166


##########
docs/content.zh/docs/dev/table/sql-gateway/rest.md:
##########
@@ -123,9 +120,9 @@ The OpenAPI specification is still experimental.
 Data Type Mapping
 ----------------
 
-Currently, REST endpoint supports to serialize the `RowData` with query parameter `rowFormat`. REST endpoint uses JSON format to serialize
-the Table Objects. Please refer [JSON format]({{< ref "docs/connectors/table/formats/json#data-type-mapping" >}}) to the mappings.
+目前 REST endpoint 支持使用查询参数 `rowFormat` 序列化 `RowData`。REST endpoint 使用 JSON 序列化 Table Objects。
+请参考 [JSON format]({{< ref "docs/connectors/table/formats/json#data-type-mapping" >}}) 查看映射关系。

Review Comment:
   查看映射关系 -> 查看类型映射关系?



##########
docs/content.zh/docs/dev/table/sql-gateway/rest.md:
##########
@@ -94,15 +91,15 @@ Endpoint Options
 REST API
 ----------------
 
-The available OpenAPI specification is as follows. The default version is v2.
+OpenAPI 规范如下,默认版本是 v2。
 
 | Version                       | Description |
 | ----------- | ------- |
 | [Open API v1 specification]({{< ref_static "generated/rest_v1_sql_gateway.yml" >}}) | Allow users to submit statements to the gateway and execute. |

Review Comment:
   这两句也可以翻译一下



##########
docs/content.zh/docs/dev/table/sql-gateway/rest.md:
##########
@@ -123,9 +120,9 @@ The OpenAPI specification is still experimental.
 Data Type Mapping
 ----------------
 
-Currently, REST endpoint supports to serialize the `RowData` with query parameter `rowFormat`. REST endpoint uses JSON format to serialize
-the Table Objects. Please refer [JSON format]({{< ref "docs/connectors/table/formats/json#data-type-mapping" >}}) to the mappings.
+目前 REST endpoint 支持使用查询参数 `rowFormat` 序列化 `RowData`。REST endpoint 使用 JSON 序列化 Table Objects。

Review Comment:
   Table Object -> Table 对象?



-- 
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: issues-unsubscribe@flink.apache.org

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


[GitHub] [flink] FangYongs commented on pull request #22237: [FLINK-31556][docs-zh] Translate "rest" page of "sql-gateway" into Chinese

Posted by "FangYongs (via GitHub)" <gi...@apache.org>.
FangYongs commented on PR #22237:
URL: https://github.com/apache/flink/pull/22237#issuecomment-1478929503

   @flinkbot run azure
   


-- 
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: issues-unsubscribe@flink.apache.org

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


[GitHub] [flink] FangYongs commented on pull request #22237: [FLINK-31556][docs-zh] Translate "rest" page of "sql-gateway" into Chinese

Posted by "FangYongs (via GitHub)" <gi...@apache.org>.
FangYongs commented on PR #22237:
URL: https://github.com/apache/flink/pull/22237#issuecomment-1482223497

   Thanks @fsk119 , updated


-- 
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: issues-unsubscribe@flink.apache.org

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


[GitHub] [flink] fsk119 merged pull request #22237: [FLINK-31556][docs-zh] Translate "rest" page of "sql-gateway" into Chinese

Posted by "fsk119 (via GitHub)" <gi...@apache.org>.
fsk119 merged PR #22237:
URL: https://github.com/apache/flink/pull/22237


-- 
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: issues-unsubscribe@flink.apache.org

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