You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2020/07/01 08:52:23 UTC

[GitHub] [flink] RocMarshal opened a new pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

RocMarshal opened a new pull request #12798:
URL: https://github.com/apache/flink/pull/12798


   <!--
   *Thank you very much for contributing to Apache Flink - we are happy that you want to help us improve Flink. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it can be best reviewed.*
   
   *Please understand that we do not do this to make contributions to Flink a hassle. In order to uphold a high standard of quality for code contributions, while at the same time managing a large number of contributions, we need contributors to prepare the contributions well, and give reviewers enough contextual information for the review. Please also understand that contributions that do not follow this guide will take longer to review and thus typically be picked up with lower priority by the community.*
   
   ## Contribution Checklist
   
     - Make sure that the pull request corresponds to a [JIRA issue](https://issues.apache.org/jira/projects/FLINK/issues). Exceptions are made for typos in JavaDoc or documentation files, which need no JIRA issue.
     
     - Name the pull request in the form "[FLINK-XXXX] [component] Title of the pull request", where *FLINK-XXXX* should be replaced by the actual issue number. Skip *component* if you are unsure about which is the best component.
     Typo fixes that have no associated JIRA issue should be named following this pattern: `[hotfix] [docs] Fix typo in event time introduction` or `[hotfix] [javadocs] Expand JavaDoc for PuncuatedWatermarkGenerator`.
   
     - Fill out the template below to describe the changes contributed by the pull request. That will give reviewers the context they need to do the review.
     
     - Make sure that the change passes the automated tests, i.e., `mvn clean verify` passes. You can set up Azure Pipelines CI to do that following [this guide](https://cwiki.apache.org/confluence/display/FLINK/Azure+Pipelines#AzurePipelines-Tutorial:SettingupAzurePipelinesforaforkoftheFlinkrepository).
   
     - Each pull request should address only one issue, not mix up code from multiple issues.
     
     - Each commit in the pull request has a meaningful commit message (including the JIRA id)
   
     - Once all items of the checklist are addressed, remove the above text and this checklist, leaving only the filled out template below.
   
   
   **(The sections below can be removed for hotfixes of typos)**
   -->
   
   ## What is the purpose of the change
   
   *Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese*
   
   
   ## Brief change log
   
     - *Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese*  
   
     - *Recorrect links of "interval joins" in this page whose path is `flink/docs/dev/table/streaming/match_recognize.zh.md`*
   
   
   ## 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): no
     - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: no
     - The serializers: no
     - The runtime per-record code paths (performance sensitive):no
     - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: no
     - The S3 file system connector: no
   
   ## Documentation
   
     - Does this pull request introduce a new feature? no
     - If yes, how is the feature documented? not applicable 
   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [flink] RocMarshal commented on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
RocMarshal commented on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-659134008


   @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.

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



[GitHub] [flink] flinkbot edited a comment on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-652303680


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "527265656bc37900ee79357233697fde8ce88b0e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4144",
       "triggerID" : "527265656bc37900ee79357233697fde8ce88b0e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4193",
       "triggerID" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "triggerType" : "PUSH"
     }, {
       "hash" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4195",
       "triggerID" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4233",
       "triggerID" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4238",
       "triggerID" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "triggerType" : "PUSH"
     }, {
       "hash" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4256",
       "triggerID" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * ad5d5dcac846080e2e40255505dd35896a6c7a94 UNKNOWN
   * 712b7a57cea8f3b0ddac3f778f87079844198eae Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4256) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@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.

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



[GitHub] [flink] flinkbot edited a comment on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-652303680


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "527265656bc37900ee79357233697fde8ce88b0e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4144",
       "triggerID" : "527265656bc37900ee79357233697fde8ce88b0e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4193",
       "triggerID" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "triggerType" : "PUSH"
     }, {
       "hash" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4195",
       "triggerID" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4233",
       "triggerID" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4238",
       "triggerID" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "triggerType" : "PUSH"
     }, {
       "hash" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4256",
       "triggerID" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4268",
       "triggerID" : "fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d6b49aa7c6fcb0150e66cef3927938bb67a62ecd",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4273",
       "triggerID" : "d6b49aa7c6fcb0150e66cef3927938bb67a62ecd",
       "triggerType" : "PUSH"
     }, {
       "hash" : "afb15a19e449a983b7d825664624311cce1bd42a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4321",
       "triggerID" : "afb15a19e449a983b7d825664624311cce1bd42a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f1fb24d628f66f3f2929fe4e737a835e8391c0a8",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4343",
       "triggerID" : "f1fb24d628f66f3f2929fe4e737a835e8391c0a8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "3a0861645eb533d48c06e3461b0991ca13397242",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "3a0861645eb533d48c06e3461b0991ca13397242",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * ad5d5dcac846080e2e40255505dd35896a6c7a94 UNKNOWN
   * f1fb24d628f66f3f2929fe4e737a835e8391c0a8 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4343) 
   * 3a0861645eb533d48c06e3461b0991ca13397242 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@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.

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



[GitHub] [flink] flinkbot edited a comment on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-652303680


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "527265656bc37900ee79357233697fde8ce88b0e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4144",
       "triggerID" : "527265656bc37900ee79357233697fde8ce88b0e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4193",
       "triggerID" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "triggerType" : "PUSH"
     }, {
       "hash" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4195",
       "triggerID" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4233",
       "triggerID" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4238",
       "triggerID" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "triggerType" : "PUSH"
     }, {
       "hash" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4256",
       "triggerID" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4268",
       "triggerID" : "fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d6b49aa7c6fcb0150e66cef3927938bb67a62ecd",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4273",
       "triggerID" : "d6b49aa7c6fcb0150e66cef3927938bb67a62ecd",
       "triggerType" : "PUSH"
     }, {
       "hash" : "afb15a19e449a983b7d825664624311cce1bd42a",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4321",
       "triggerID" : "afb15a19e449a983b7d825664624311cce1bd42a",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * ad5d5dcac846080e2e40255505dd35896a6c7a94 UNKNOWN
   * afb15a19e449a983b7d825664624311cce1bd42a Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4321) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@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.

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



[GitHub] [flink] flinkbot edited a comment on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-652303680


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "527265656bc37900ee79357233697fde8ce88b0e",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4144",
       "triggerID" : "527265656bc37900ee79357233697fde8ce88b0e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 527265656bc37900ee79357233697fde8ce88b0e Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4144) 
   * ad5d5dcac846080e2e40255505dd35896a6c7a94 UNKNOWN
   * 61a9901b9d33644c5bc2f85e04960b9c388a2506 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@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.

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



[GitHub] [flink] flinkbot edited a comment on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-652303680


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "527265656bc37900ee79357233697fde8ce88b0e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4144",
       "triggerID" : "527265656bc37900ee79357233697fde8ce88b0e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4193",
       "triggerID" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "triggerType" : "PUSH"
     }, {
       "hash" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4195",
       "triggerID" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4233",
       "triggerID" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * ad5d5dcac846080e2e40255505dd35896a6c7a94 UNKNOWN
   * f284f503448e04e77c01d35b96a1130e52198f71 Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4233) 
   * 63895a2f0147d6a673d32b011e6fb9cbe57f7eac UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@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.

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



[GitHub] [flink] klion26 commented on a change in pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
klion26 commented on a change in pull request #12798:
URL: https://github.com/apache/flink/pull/12798#discussion_r453438542



##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -180,99 +158,68 @@ FROM Ticker
     ) MR;
 {% endhighlight %}
 
-The query partitions the `Ticker` table by the `symbol` column and orders it by the `rowtime`
-time attribute.
+此查询将 `Ticker` 表按照 `symbol` 列进行分区并按照 `rowtime` 属性进行排序。
 
-The `PATTERN` clause specifies that we are interested in a pattern with a starting event `START_ROW`
-that is followed by one or more `PRICE_DOWN` events and concluded with a `PRICE_UP` event. If such
-a pattern can be found, the next pattern match will be seeked at the last `PRICE_UP` event as
-indicated by the `AFTER MATCH SKIP TO LAST` clause.
+`PATTERN` 子句指定我们对以下模式感兴趣:该模式具有开始事件 `START_ROW`,然后是一个或多个 `PRICE_DOWN` 事件,并以 `PRICE_UP` 事件结束。如果可以找到这样的模式,如 `AFTER MATCH SKIP TO LAST` 子句所示,则从最后一个 `PRICE_UP` 事件开始寻找下一个模式匹配。
 
-The `DEFINE` clause specifies the conditions that need to be met for a `PRICE_DOWN` and `PRICE_UP`
-event. Although the `START_ROW` pattern variable is not present it has an implicit condition that
-is evaluated always as `TRUE`.
+`DEFINE` 子句指定 `PRICE_DOWN` 和 `PRICE_UP` 事件需要满足的条件。尽管不存在 `START_ROW` 模式变量,但它具有一个始终被评估为 `TRUE` 隐式条件。
 
-A pattern variable `PRICE_DOWN` is defined as a row with a price that is smaller than the price of
-the last row that met the `PRICE_DOWN` condition. For the initial case or when there is no last row
-that met the `PRICE_DOWN` condition, the price of the row should be smaller than the price of the
-preceding row in the pattern (referenced by `START_ROW`).
+模式变量 `PRICE_DOWN` 定义为价格小于满足 `PRICE_DOWN` 条件的最后一行。对于初始情况或没有满足 `PRICE_DOWN` 条件的最后一行时,该行的价格应小于该模式中前一行(由 `START_ROW` 引用)的价格。
 
-A pattern variable `PRICE_UP` is defined as a row with a price that is larger than the price of the
-last row that met the `PRICE_DOWN` condition.
+模变变量 `PRICE_UP` 定义为价格大于满足 `PRICE_DOWN` 条件的最后一行。

Review comment:
       `模变变量` -> `模式变量`?

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -998,29 +898,26 @@ The last result matched against the rows #5, #6.
  XYZ      17         2018-09-17 10:00:05   2018-09-17 10:00:06
 {% endhighlight %}
 
-Again, the first result matched against the rows #1, #2, #3, #4.
+同样,第一个结果与#1,#2,#3,#4行匹配。

Review comment:
       ```suggestion
   同样,第一个结果与 #1,#2,#3,#4 行匹配。
   ```

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -976,16 +877,15 @@ The second result matched against the rows #5, #6.
  XYZ      17         2018-09-17 10:00:05   2018-09-17 10:00:06
 {% endhighlight %}
 
-Again, the first result matched against the rows #1, #2, #3, #4.
+同样,第一个结果与 #1,#2,#3,#4 行匹配。
 
-Compared to the previous strategy, the next match includes row #2 again for the next matching.
-Therefore, the second result matched against the rows #2, #3, #4, #5.
+与上一个策略相比,下一个匹配再次包含 #2 行匹配。因此,第二个结果与 #2,#3,#4,#5 行匹配。
 
-The third result matched against the rows #3, #4, #5.
+第三个结果与#3、#4、#5行匹配。
 
-The forth result matched against the rows #4, #5, #6.
+第四个结果与#4,#5,#6行匹配。

Review comment:
       ```suggestion
   第四个结果与 #4,#5,#6 行匹配。
   ```

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -976,16 +877,15 @@ The second result matched against the rows #5, #6.
  XYZ      17         2018-09-17 10:00:05   2018-09-17 10:00:06
 {% endhighlight %}
 
-Again, the first result matched against the rows #1, #2, #3, #4.
+同样,第一个结果与 #1,#2,#3,#4 行匹配。
 
-Compared to the previous strategy, the next match includes row #2 again for the next matching.
-Therefore, the second result matched against the rows #2, #3, #4, #5.
+与上一个策略相比,下一个匹配再次包含 #2 行匹配。因此,第二个结果与 #2,#3,#4,#5 行匹配。
 
-The third result matched against the rows #3, #4, #5.
+第三个结果与#3、#4、#5行匹配。
 
-The forth result matched against the rows #4, #5, #6.
+第四个结果与#4,#5,#6行匹配。
 
-The last result matched against the rows #5, #6.
+最后一个结果与第5行、第6行匹配。

Review comment:
       ```suggestion
   最后一个结果与第 5 行、第 6 行匹配。
   ```

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -180,99 +158,68 @@ FROM Ticker
     ) MR;
 {% endhighlight %}
 
-The query partitions the `Ticker` table by the `symbol` column and orders it by the `rowtime`
-time attribute.
+此查询将 `Ticker` 表按照 `symbol` 列进行分区并按照 `rowtime` 属性进行排序。
 
-The `PATTERN` clause specifies that we are interested in a pattern with a starting event `START_ROW`
-that is followed by one or more `PRICE_DOWN` events and concluded with a `PRICE_UP` event. If such
-a pattern can be found, the next pattern match will be seeked at the last `PRICE_UP` event as
-indicated by the `AFTER MATCH SKIP TO LAST` clause.
+`PATTERN` 子句指定我们对以下模式感兴趣:该模式具有开始事件 `START_ROW`,然后是一个或多个 `PRICE_DOWN` 事件,并以 `PRICE_UP` 事件结束。如果可以找到这样的模式,如 `AFTER MATCH SKIP TO LAST` 子句所示,则从最后一个 `PRICE_UP` 事件开始寻找下一个模式匹配。
 
-The `DEFINE` clause specifies the conditions that need to be met for a `PRICE_DOWN` and `PRICE_UP`
-event. Although the `START_ROW` pattern variable is not present it has an implicit condition that
-is evaluated always as `TRUE`.
+`DEFINE` 子句指定 `PRICE_DOWN` 和 `PRICE_UP` 事件需要满足的条件。尽管不存在 `START_ROW` 模式变量,但它具有一个始终被评估为 `TRUE` 隐式条件。
 
-A pattern variable `PRICE_DOWN` is defined as a row with a price that is smaller than the price of
-the last row that met the `PRICE_DOWN` condition. For the initial case or when there is no last row
-that met the `PRICE_DOWN` condition, the price of the row should be smaller than the price of the
-preceding row in the pattern (referenced by `START_ROW`).
+模式变量 `PRICE_DOWN` 定义为价格小于满足 `PRICE_DOWN` 条件的最后一行。对于初始情况或没有满足 `PRICE_DOWN` 条件的最后一行时,该行的价格应小于该模式中前一行(由 `START_ROW` 引用)的价格。
 
-A pattern variable `PRICE_UP` is defined as a row with a price that is larger than the price of the
-last row that met the `PRICE_DOWN` condition.
+模变变量 `PRICE_UP` 定义为价格大于满足 `PRICE_DOWN` 条件的最后一行。
 
-This query produces a summary row for each period in which the price of a stock was continuously
-decreasing.
+此查询为股票价格持续下跌的每个期间生成摘要行。
 
-The exact representation of the output rows is defined in the `MEASURES` part of the query. The
-number of output rows is defined by the `ONE ROW PER MATCH` output mode.
+在查询的 `MEASURES` 子句部分定义确切的输出行信息。输出行数由 `ONE ROW PER MATCH` 输出方式定义。
 
 {% highlight text %}
  symbol       start_tstamp       bottom_tstamp         end_tstamp
 =========  ==================  ==================  ==================
 ACME       01-APR-11 10:00:04  01-APR-11 10:00:07  01-APR-11 10:00:08
 {% endhighlight %}
 
-The resulting row describes a period of falling prices that started at `01-APR-11 10:00:04` and
-achieved the lowest price at `01-APR-11 10:00:07` that increased again at `01-APR-11 10:00:08`.
+该行结果描述了从 `01-APR-11 10:00:04` 开始的价格下跌期,在 `01-APR-11 10:00:07` 达到最低价格,到 `01-APR-11 10:00:08` 再次上涨。
 
-Partitioning
+<a name="partitioning"></a>
+
+分区
 ------------
 
-It is possible to look for patterns in partitioned data, e.g., trends for a single ticker or a
-particular user. This can be expressed using the `PARTITION BY` clause. The clause is similar to
-using `GROUP BY` for aggregations.
+可以在分区数据中寻找模式,例如单个股票行情或特定用户的趋势。这可以用 `PARTITION BY` 子句来表示。该子句类似于对聚合使用 `GROUP BY`。
+
+<span class="label label-danger">注意</span> 强烈建议对传入的数据进行分区,否则 `MATCH_RECOGNIZE` 子句将被转换为非并行算子,以确保全局排序。
 
-<span class="label label-danger">Attention</span> It is highly advised to partition the incoming
-data because otherwise the `MATCH_RECOGNIZE` clause will be translated into a non-parallel operator
-to ensure global ordering.
+<a name="order-of-events"></a>
 
-Order of Events
+事件顺序
 ---------------
 
-Apache Flink allows for searching for patterns based on time; either
-[processing time or event time](time_attributes.html).
+Apache Flink 可以根据时间([处理时间或者事件时间]({% link dev/table/streaming/time_attributes.zh.md %}))进行模式搜索。
 
-In case of event time, the events are sorted before they are passed to the internal pattern state
-machine. As a consequence, the produced output will be correct regardless of the order in which
-rows are appended to the table. Instead, the pattern is evaluated in the order specified by the
-time contained in each row.
+如果是事件时间,则在将事件传递到内部模式状态机之前对其进行排序。所以,无论行添加到表的顺序如何,生成的输出都是正确的。相反,模式是按照每行中包含的时间指定的顺序计算的。
 
-The `MATCH_RECOGNIZE` clause assumes a [time attribute](time_attributes.html) with ascending
-ordering as the first argument to `ORDER BY` clause.
+`MATCH_RECOGNIZE` 子句假定升序的 [时间属性]({% link dev/table/streaming/time_attributes.zh.md %}) 是 `ORDER BY` 子句的第一个参数。
 
-For the example `Ticker` table, a definition like `ORDER BY rowtime ASC, price DESC` is valid but
-`ORDER BY price, rowtime` or `ORDER BY rowtime DESC, price ASC` is not.
+对于示例 `Ticker` 表,诸如 `ORDER BY rowtime ASC, price DESC` 的定义是有效的,但 `ORDER BY price, rowtime` 或者 `ORDER BY rowtime DESC, price ASC` 是无效的。
 
 Define & Measures
 -----------------
 
-The `DEFINE` and `MEASURES` keywords have similar meanings to the `WHERE` and `SELECT` clauses in a
-simple SQL query.
+`DEFINE` 和 `MEASURES` 关键字与简单 SQL 查询中的 `WHERE` 和 `SELECT` 子句具有相近的含义。
 
-The `MEASURES` clause defines what will be included in the output of a matching pattern. It can
-project columns and define expressions for evaluation. The number of produced rows depends on the
-[output mode](#output-mode) setting.
+`MEASURES` 子句定义匹配模式的输出中要包含哪些内容。它可以投影列并定义表达式进行计算。产生的行数取决于[输出方式](#output-mode)设置。
 
-The `DEFINE` clause specifies conditions that rows have to fulfill in order to be classified to a
-corresponding [pattern variable](#defining-a-pattern). If a condition is not defined for a pattern
-variable, a default condition will be used which evaluates to `true` for every row.
+`DEFINE` 子句指定行必须满足的条件才能被分类到相应的 [pattern variable](#defining-a-pattern)。如果没有为模式变量定义条件,则将使用对每一行的计算结果为 `true` 的默认条件。

Review comment:
       这句话中前面的 `pattern variable` 没有翻译,后面的翻译了,这里建议进行统一,可以统一进行翻译

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -180,99 +158,68 @@ FROM Ticker
     ) MR;
 {% endhighlight %}
 
-The query partitions the `Ticker` table by the `symbol` column and orders it by the `rowtime`
-time attribute.
+此查询将 `Ticker` 表按照 `symbol` 列进行分区并按照 `rowtime` 属性进行排序。
 
-The `PATTERN` clause specifies that we are interested in a pattern with a starting event `START_ROW`
-that is followed by one or more `PRICE_DOWN` events and concluded with a `PRICE_UP` event. If such
-a pattern can be found, the next pattern match will be seeked at the last `PRICE_UP` event as
-indicated by the `AFTER MATCH SKIP TO LAST` clause.
+`PATTERN` 子句指定我们对以下模式感兴趣:该模式具有开始事件 `START_ROW`,然后是一个或多个 `PRICE_DOWN` 事件,并以 `PRICE_UP` 事件结束。如果可以找到这样的模式,如 `AFTER MATCH SKIP TO LAST` 子句所示,则从最后一个 `PRICE_UP` 事件开始寻找下一个模式匹配。
 
-The `DEFINE` clause specifies the conditions that need to be met for a `PRICE_DOWN` and `PRICE_UP`
-event. Although the `START_ROW` pattern variable is not present it has an implicit condition that
-is evaluated always as `TRUE`.
+`DEFINE` 子句指定 `PRICE_DOWN` 和 `PRICE_UP` 事件需要满足的条件。尽管不存在 `START_ROW` 模式变量,但它具有一个始终被评估为 `TRUE` 隐式条件。
 
-A pattern variable `PRICE_DOWN` is defined as a row with a price that is smaller than the price of
-the last row that met the `PRICE_DOWN` condition. For the initial case or when there is no last row
-that met the `PRICE_DOWN` condition, the price of the row should be smaller than the price of the
-preceding row in the pattern (referenced by `START_ROW`).
+模式变量 `PRICE_DOWN` 定义为价格小于满足 `PRICE_DOWN` 条件的最后一行。对于初始情况或没有满足 `PRICE_DOWN` 条件的最后一行时,该行的价格应小于该模式中前一行(由 `START_ROW` 引用)的价格。
 
-A pattern variable `PRICE_UP` is defined as a row with a price that is larger than the price of the
-last row that met the `PRICE_DOWN` condition.
+模变变量 `PRICE_UP` 定义为价格大于满足 `PRICE_DOWN` 条件的最后一行。
 
-This query produces a summary row for each period in which the price of a stock was continuously
-decreasing.
+此查询为股票价格持续下跌的每个期间生成摘要行。
 
-The exact representation of the output rows is defined in the `MEASURES` part of the query. The
-number of output rows is defined by the `ONE ROW PER MATCH` output mode.
+在查询的 `MEASURES` 子句部分定义确切的输出行信息。输出行数由 `ONE ROW PER MATCH` 输出方式定义。
 
 {% highlight text %}
  symbol       start_tstamp       bottom_tstamp         end_tstamp
 =========  ==================  ==================  ==================
 ACME       01-APR-11 10:00:04  01-APR-11 10:00:07  01-APR-11 10:00:08
 {% endhighlight %}
 
-The resulting row describes a period of falling prices that started at `01-APR-11 10:00:04` and
-achieved the lowest price at `01-APR-11 10:00:07` that increased again at `01-APR-11 10:00:08`.
+该行结果描述了从 `01-APR-11 10:00:04` 开始的价格下跌期,在 `01-APR-11 10:00:07` 达到最低价格,到 `01-APR-11 10:00:08` 再次上涨。
 
-Partitioning
+<a name="partitioning"></a>
+
+分区
 ------------
 
-It is possible to look for patterns in partitioned data, e.g., trends for a single ticker or a
-particular user. This can be expressed using the `PARTITION BY` clause. The clause is similar to
-using `GROUP BY` for aggregations.
+可以在分区数据中寻找模式,例如单个股票行情或特定用户的趋势。这可以用 `PARTITION BY` 子句来表示。该子句类似于对聚合使用 `GROUP BY`。
+
+<span class="label label-danger">注意</span> 强烈建议对传入的数据进行分区,否则 `MATCH_RECOGNIZE` 子句将被转换为非并行算子,以确保全局排序。
 
-<span class="label label-danger">Attention</span> It is highly advised to partition the incoming
-data because otherwise the `MATCH_RECOGNIZE` clause will be translated into a non-parallel operator
-to ensure global ordering.
+<a name="order-of-events"></a>
 
-Order of Events
+事件顺序
 ---------------
 
-Apache Flink allows for searching for patterns based on time; either
-[processing time or event time](time_attributes.html).
+Apache Flink 可以根据时间([处理时间或者事件时间]({% link dev/table/streaming/time_attributes.zh.md %}))进行模式搜索。
 
-In case of event time, the events are sorted before they are passed to the internal pattern state
-machine. As a consequence, the produced output will be correct regardless of the order in which
-rows are appended to the table. Instead, the pattern is evaluated in the order specified by the
-time contained in each row.
+如果是事件时间,则在将事件传递到内部模式状态机之前对其进行排序。所以,无论行添加到表的顺序如何,生成的输出都是正确的。相反,模式是按照每行中包含的时间指定的顺序计算的。
 
-The `MATCH_RECOGNIZE` clause assumes a [time attribute](time_attributes.html) with ascending
-ordering as the first argument to `ORDER BY` clause.
+`MATCH_RECOGNIZE` 子句假定升序的 [时间属性]({% link dev/table/streaming/time_attributes.zh.md %}) 是 `ORDER BY` 子句的第一个参数。
 
-For the example `Ticker` table, a definition like `ORDER BY rowtime ASC, price DESC` is valid but
-`ORDER BY price, rowtime` or `ORDER BY rowtime DESC, price ASC` is not.
+对于示例 `Ticker` 表,诸如 `ORDER BY rowtime ASC, price DESC` 的定义是有效的,但 `ORDER BY price, rowtime` 或者 `ORDER BY rowtime DESC, price ASC` 是无效的。
 
 Define & Measures
 -----------------
 
-The `DEFINE` and `MEASURES` keywords have similar meanings to the `WHERE` and `SELECT` clauses in a
-simple SQL query.
+`DEFINE` 和 `MEASURES` 关键字与简单 SQL 查询中的 `WHERE` 和 `SELECT` 子句具有相近的含义。
 
-The `MEASURES` clause defines what will be included in the output of a matching pattern. It can
-project columns and define expressions for evaluation. The number of produced rows depends on the
-[output mode](#output-mode) setting.
+`MEASURES` 子句定义匹配模式的输出中要包含哪些内容。它可以投影列并定义表达式进行计算。产生的行数取决于[输出方式](#output-mode)设置。
 
-The `DEFINE` clause specifies conditions that rows have to fulfill in order to be classified to a
-corresponding [pattern variable](#defining-a-pattern). If a condition is not defined for a pattern
-variable, a default condition will be used which evaluates to `true` for every row.
+`DEFINE` 子句指定行必须满足的条件才能被分类到相应的 [pattern variable](#defining-a-pattern)。如果没有为模式变量定义条件,则将使用对每一行的计算结果为 `true` 的默认条件。
 
-For a more detailed explanation about expressions that can be used in those clauses, please have a
-look at the [event stream navigation](#pattern-navigation) section.
+有关在这些子句中可使用的表达式的更详细的说明,请查看 [event stream navigation](#pattern-navigation) 部分。

Review comment:
       这里的 `event stream navigation` 和上面也一样

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -180,99 +158,68 @@ FROM Ticker
     ) MR;
 {% endhighlight %}
 
-The query partitions the `Ticker` table by the `symbol` column and orders it by the `rowtime`
-time attribute.
+此查询将 `Ticker` 表按照 `symbol` 列进行分区并按照 `rowtime` 属性进行排序。
 
-The `PATTERN` clause specifies that we are interested in a pattern with a starting event `START_ROW`
-that is followed by one or more `PRICE_DOWN` events and concluded with a `PRICE_UP` event. If such
-a pattern can be found, the next pattern match will be seeked at the last `PRICE_UP` event as
-indicated by the `AFTER MATCH SKIP TO LAST` clause.
+`PATTERN` 子句指定我们对以下模式感兴趣:该模式具有开始事件 `START_ROW`,然后是一个或多个 `PRICE_DOWN` 事件,并以 `PRICE_UP` 事件结束。如果可以找到这样的模式,如 `AFTER MATCH SKIP TO LAST` 子句所示,则从最后一个 `PRICE_UP` 事件开始寻找下一个模式匹配。
 
-The `DEFINE` clause specifies the conditions that need to be met for a `PRICE_DOWN` and `PRICE_UP`
-event. Although the `START_ROW` pattern variable is not present it has an implicit condition that
-is evaluated always as `TRUE`.
+`DEFINE` 子句指定 `PRICE_DOWN` 和 `PRICE_UP` 事件需要满足的条件。尽管不存在 `START_ROW` 模式变量,但它具有一个始终被评估为 `TRUE` 隐式条件。
 
-A pattern variable `PRICE_DOWN` is defined as a row with a price that is smaller than the price of
-the last row that met the `PRICE_DOWN` condition. For the initial case or when there is no last row
-that met the `PRICE_DOWN` condition, the price of the row should be smaller than the price of the
-preceding row in the pattern (referenced by `START_ROW`).
+模式变量 `PRICE_DOWN` 定义为价格小于满足 `PRICE_DOWN` 条件的最后一行。对于初始情况或没有满足 `PRICE_DOWN` 条件的最后一行时,该行的价格应小于该模式中前一行(由 `START_ROW` 引用)的价格。
 
-A pattern variable `PRICE_UP` is defined as a row with a price that is larger than the price of the
-last row that met the `PRICE_DOWN` condition.
+模变变量 `PRICE_UP` 定义为价格大于满足 `PRICE_DOWN` 条件的最后一行。
 
-This query produces a summary row for each period in which the price of a stock was continuously
-decreasing.
+此查询为股票价格持续下跌的每个期间生成摘要行。
 
-The exact representation of the output rows is defined in the `MEASURES` part of the query. The
-number of output rows is defined by the `ONE ROW PER MATCH` output mode.
+在查询的 `MEASURES` 子句部分定义确切的输出行信息。输出行数由 `ONE ROW PER MATCH` 输出方式定义。
 
 {% highlight text %}
  symbol       start_tstamp       bottom_tstamp         end_tstamp
 =========  ==================  ==================  ==================
 ACME       01-APR-11 10:00:04  01-APR-11 10:00:07  01-APR-11 10:00:08
 {% endhighlight %}
 
-The resulting row describes a period of falling prices that started at `01-APR-11 10:00:04` and
-achieved the lowest price at `01-APR-11 10:00:07` that increased again at `01-APR-11 10:00:08`.
+该行结果描述了从 `01-APR-11 10:00:04` 开始的价格下跌期,在 `01-APR-11 10:00:07` 达到最低价格,到 `01-APR-11 10:00:08` 再次上涨。
 
-Partitioning
+<a name="partitioning"></a>
+
+分区
 ------------
 
-It is possible to look for patterns in partitioned data, e.g., trends for a single ticker or a
-particular user. This can be expressed using the `PARTITION BY` clause. The clause is similar to
-using `GROUP BY` for aggregations.
+可以在分区数据中寻找模式,例如单个股票行情或特定用户的趋势。这可以用 `PARTITION BY` 子句来表示。该子句类似于对聚合使用 `GROUP BY`。
+
+<span class="label label-danger">注意</span> 强烈建议对传入的数据进行分区,否则 `MATCH_RECOGNIZE` 子句将被转换为非并行算子,以确保全局排序。
 
-<span class="label label-danger">Attention</span> It is highly advised to partition the incoming
-data because otherwise the `MATCH_RECOGNIZE` clause will be translated into a non-parallel operator
-to ensure global ordering.
+<a name="order-of-events"></a>
 
-Order of Events
+事件顺序
 ---------------
 
-Apache Flink allows for searching for patterns based on time; either
-[processing time or event time](time_attributes.html).
+Apache Flink 可以根据时间([处理时间或者事件时间]({% link dev/table/streaming/time_attributes.zh.md %}))进行模式搜索。
 
-In case of event time, the events are sorted before they are passed to the internal pattern state
-machine. As a consequence, the produced output will be correct regardless of the order in which
-rows are appended to the table. Instead, the pattern is evaluated in the order specified by the
-time contained in each row.
+如果是事件时间,则在将事件传递到内部模式状态机之前对其进行排序。所以,无论行添加到表的顺序如何,生成的输出都是正确的。相反,模式是按照每行中包含的时间指定的顺序计算的。
 
-The `MATCH_RECOGNIZE` clause assumes a [time attribute](time_attributes.html) with ascending
-ordering as the first argument to `ORDER BY` clause.
+`MATCH_RECOGNIZE` 子句假定升序的 [时间属性]({% link dev/table/streaming/time_attributes.zh.md %}) 是 `ORDER BY` 子句的第一个参数。
 
-For the example `Ticker` table, a definition like `ORDER BY rowtime ASC, price DESC` is valid but
-`ORDER BY price, rowtime` or `ORDER BY rowtime DESC, price ASC` is not.
+对于示例 `Ticker` 表,诸如 `ORDER BY rowtime ASC, price DESC` 的定义是有效的,但 `ORDER BY price, rowtime` 或者 `ORDER BY rowtime DESC, price ASC` 是无效的。
 
 Define & Measures
 -----------------
 
-The `DEFINE` and `MEASURES` keywords have similar meanings to the `WHERE` and `SELECT` clauses in a
-simple SQL query.
+`DEFINE` 和 `MEASURES` 关键字与简单 SQL 查询中的 `WHERE` 和 `SELECT` 子句具有相近的含义。
 
-The `MEASURES` clause defines what will be included in the output of a matching pattern. It can
-project columns and define expressions for evaluation. The number of produced rows depends on the
-[output mode](#output-mode) setting.
+`MEASURES` 子句定义匹配模式的输出中要包含哪些内容。它可以投影列并定义表达式进行计算。产生的行数取决于[输出方式](#output-mode)设置。
 
-The `DEFINE` clause specifies conditions that rows have to fulfill in order to be classified to a
-corresponding [pattern variable](#defining-a-pattern). If a condition is not defined for a pattern
-variable, a default condition will be used which evaluates to `true` for every row.
+`DEFINE` 子句指定行必须满足的条件才能被分类到相应的 [pattern variable](#defining-a-pattern)。如果没有为模式变量定义条件,则将使用对每一行的计算结果为 `true` 的默认条件。
 
-For a more detailed explanation about expressions that can be used in those clauses, please have a
-look at the [event stream navigation](#pattern-navigation) section.
+有关在这些子句中可使用的表达式的更详细的说明,请查看 [event stream navigation](#pattern-navigation) 部分。
 
 ### Aggregations
 
-Aggregations can be used in `DEFINE` and `MEASURES` clauses. Both
-[built-in]({{ site.baseurl }}/dev/table/functions/systemFunctions.html) and custom
-[user defined]({{ site.baseurl }}/dev/table/functions/udfs.html) functions are supported.
+Aggregations 可以在 `DEFINE` 和 `MEASURES` 子句中使用。支持[内置函数]({% link dev/table/functions/systemFunctions.zh.md %})和[用户自定义函数]({% link dev/table/functions/udfs.zh.md %})。
 
-Aggregate functions are applied to each subset of rows mapped to a match. In order to understand
-how those subsets are evaluated have a look at the [event stream navigation](#pattern-navigation)
-section.
+对相应匹配项的行子集可以使用 Aggregate functions。请查看 [event stream navigation](#pattern-navigation) 部分以了解如何计算这些子集。

Review comment:
       这里的 `event stream navigation` 建议翻译,下面的标题已经翻译了

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -976,16 +877,15 @@ The second result matched against the rows #5, #6.
  XYZ      17         2018-09-17 10:00:05   2018-09-17 10:00:06
 {% endhighlight %}
 
-Again, the first result matched against the rows #1, #2, #3, #4.
+同样,第一个结果与 #1,#2,#3,#4 行匹配。
 
-Compared to the previous strategy, the next match includes row #2 again for the next matching.
-Therefore, the second result matched against the rows #2, #3, #4, #5.
+与上一个策略相比,下一个匹配再次包含 #2 行匹配。因此,第二个结果与 #2,#3,#4,#5 行匹配。
 
-The third result matched against the rows #3, #4, #5.
+第三个结果与#3、#4、#5行匹配。

Review comment:
       ```suggestion
   第三个结果与 #3、#4、#5 行匹配。
   ```




----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-652303680


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "527265656bc37900ee79357233697fde8ce88b0e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4144",
       "triggerID" : "527265656bc37900ee79357233697fde8ce88b0e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4193",
       "triggerID" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "triggerType" : "PUSH"
     }, {
       "hash" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4195",
       "triggerID" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4233",
       "triggerID" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4238",
       "triggerID" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "triggerType" : "PUSH"
     }, {
       "hash" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4256",
       "triggerID" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4268",
       "triggerID" : "fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d6b49aa7c6fcb0150e66cef3927938bb67a62ecd",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4273",
       "triggerID" : "d6b49aa7c6fcb0150e66cef3927938bb67a62ecd",
       "triggerType" : "PUSH"
     }, {
       "hash" : "afb15a19e449a983b7d825664624311cce1bd42a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4321",
       "triggerID" : "afb15a19e449a983b7d825664624311cce1bd42a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f1fb24d628f66f3f2929fe4e737a835e8391c0a8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4343",
       "triggerID" : "f1fb24d628f66f3f2929fe4e737a835e8391c0a8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "3a0861645eb533d48c06e3461b0991ca13397242",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4437",
       "triggerID" : "3a0861645eb533d48c06e3461b0991ca13397242",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5916531853d7d30a755a85ce8da4d38731e7d765",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4441",
       "triggerID" : "5916531853d7d30a755a85ce8da4d38731e7d765",
       "triggerType" : "PUSH"
     }, {
       "hash" : "9e678a04b138c92d642ee96f4a6f05506644c5ac",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4456",
       "triggerID" : "9e678a04b138c92d642ee96f4a6f05506644c5ac",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fcc745b41155021174e1d85539064421318c0cf3",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "fcc745b41155021174e1d85539064421318c0cf3",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * ad5d5dcac846080e2e40255505dd35896a6c7a94 UNKNOWN
   * 9e678a04b138c92d642ee96f4a6f05506644c5ac Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4456) 
   * fcc745b41155021174e1d85539064421318c0cf3 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@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.

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



[GitHub] [flink] flinkbot edited a comment on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-652303680


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "527265656bc37900ee79357233697fde8ce88b0e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4144",
       "triggerID" : "527265656bc37900ee79357233697fde8ce88b0e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4193",
       "triggerID" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "triggerType" : "PUSH"
     }, {
       "hash" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4195",
       "triggerID" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4233",
       "triggerID" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4238",
       "triggerID" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "triggerType" : "PUSH"
     }, {
       "hash" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4256",
       "triggerID" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4268",
       "triggerID" : "fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d6b49aa7c6fcb0150e66cef3927938bb67a62ecd",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4273",
       "triggerID" : "d6b49aa7c6fcb0150e66cef3927938bb67a62ecd",
       "triggerType" : "PUSH"
     }, {
       "hash" : "afb15a19e449a983b7d825664624311cce1bd42a",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4321",
       "triggerID" : "afb15a19e449a983b7d825664624311cce1bd42a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f1fb24d628f66f3f2929fe4e737a835e8391c0a8",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "f1fb24d628f66f3f2929fe4e737a835e8391c0a8",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * ad5d5dcac846080e2e40255505dd35896a6c7a94 UNKNOWN
   * afb15a19e449a983b7d825664624311cce1bd42a Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4321) 
   * f1fb24d628f66f3f2929fe4e737a835e8391c0a8 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@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.

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



[GitHub] [flink] flinkbot commented on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot commented on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-652288338


   Thanks a lot for your contribution to the Apache Flink project. I'm the @flinkbot. I help the community
   to review your pull request. We will use this comment to track the progress of the review.
   
   
   ## Automated Checks
   Last check on commit 527265656bc37900ee79357233697fde8ce88b0e (Wed Jul 01 08:55:18 UTC 2020)
   
    ✅no warnings
   
   <sub>Mention the bot in a comment to re-run the automated checks.</sub>
   ## Review Progress
   
   * ❓ 1. The [description] looks good.
   * ❓ 2. There is [consensus] that the contribution should go into to Flink.
   * ❓ 3. Needs [attention] from.
   * ❓ 4. The change fits into the overall [architecture].
   * ❓ 5. Overall code [quality] is good.
   
   Please see the [Pull Request Review Guide](https://flink.apache.org/contributing/reviewing-prs.html) for a full explanation of the review process.<details>
    The Bot is tracking the review progress through labels. Labels are applied according to the order of the review items. For consensus, approval by a Flink committer of PMC member is required <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot approve description` to approve one or more aspects (aspects: `description`, `consensus`, `architecture` and `quality`)
    - `@flinkbot approve all` to approve all aspects
    - `@flinkbot approve-until architecture` to approve everything until `architecture`
    - `@flinkbot attention @username1 [@username2 ..]` to require somebody's attention
    - `@flinkbot disapprove architecture` to remove an approval you gave earlier
   </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.

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



[GitHub] [flink] flinkbot edited a comment on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-652303680


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "527265656bc37900ee79357233697fde8ce88b0e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4144",
       "triggerID" : "527265656bc37900ee79357233697fde8ce88b0e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4193",
       "triggerID" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "triggerType" : "PUSH"
     }, {
       "hash" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4195",
       "triggerID" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4233",
       "triggerID" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4238",
       "triggerID" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "triggerType" : "PUSH"
     }, {
       "hash" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4256",
       "triggerID" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4268",
       "triggerID" : "fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d6b49aa7c6fcb0150e66cef3927938bb67a62ecd",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4273",
       "triggerID" : "d6b49aa7c6fcb0150e66cef3927938bb67a62ecd",
       "triggerType" : "PUSH"
     }, {
       "hash" : "afb15a19e449a983b7d825664624311cce1bd42a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4321",
       "triggerID" : "afb15a19e449a983b7d825664624311cce1bd42a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f1fb24d628f66f3f2929fe4e737a835e8391c0a8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4343",
       "triggerID" : "f1fb24d628f66f3f2929fe4e737a835e8391c0a8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "3a0861645eb533d48c06e3461b0991ca13397242",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4437",
       "triggerID" : "3a0861645eb533d48c06e3461b0991ca13397242",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5916531853d7d30a755a85ce8da4d38731e7d765",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4441",
       "triggerID" : "5916531853d7d30a755a85ce8da4d38731e7d765",
       "triggerType" : "PUSH"
     }, {
       "hash" : "9e678a04b138c92d642ee96f4a6f05506644c5ac",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4456",
       "triggerID" : "9e678a04b138c92d642ee96f4a6f05506644c5ac",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fcc745b41155021174e1d85539064421318c0cf3",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4474",
       "triggerID" : "fcc745b41155021174e1d85539064421318c0cf3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b434eaab7904576207148894fa75f8f53ed29c41",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4478",
       "triggerID" : "b434eaab7904576207148894fa75f8f53ed29c41",
       "triggerType" : "PUSH"
     }, {
       "hash" : "98dcc88fa488050b6566f181b821ef9e86f2b8d6",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "98dcc88fa488050b6566f181b821ef9e86f2b8d6",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0d5eb5381c60a85925ad4269ada844fc49709b95",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4483",
       "triggerID" : "0d5eb5381c60a85925ad4269ada844fc49709b95",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * ad5d5dcac846080e2e40255505dd35896a6c7a94 UNKNOWN
   * b434eaab7904576207148894fa75f8f53ed29c41 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4478) 
   * 98dcc88fa488050b6566f181b821ef9e86f2b8d6 UNKNOWN
   * 0d5eb5381c60a85925ad4269ada844fc49709b95 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4483) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@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.

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



[GitHub] [flink] flinkbot edited a comment on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-652303680


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "527265656bc37900ee79357233697fde8ce88b0e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4144",
       "triggerID" : "527265656bc37900ee79357233697fde8ce88b0e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4193",
       "triggerID" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "triggerType" : "PUSH"
     }, {
       "hash" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4195",
       "triggerID" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4233",
       "triggerID" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4238",
       "triggerID" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "triggerType" : "PUSH"
     }, {
       "hash" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4256",
       "triggerID" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * ad5d5dcac846080e2e40255505dd35896a6c7a94 UNKNOWN
   * 63895a2f0147d6a673d32b011e6fb9cbe57f7eac Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4238) 
   * 712b7a57cea8f3b0ddac3f778f87079844198eae Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4256) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@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.

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



[GitHub] [flink] flinkbot edited a comment on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-652303680


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "527265656bc37900ee79357233697fde8ce88b0e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4144",
       "triggerID" : "527265656bc37900ee79357233697fde8ce88b0e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4193",
       "triggerID" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "triggerType" : "PUSH"
     }, {
       "hash" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4195",
       "triggerID" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4233",
       "triggerID" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4238",
       "triggerID" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "triggerType" : "PUSH"
     }, {
       "hash" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4256",
       "triggerID" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4268",
       "triggerID" : "fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d6b49aa7c6fcb0150e66cef3927938bb67a62ecd",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4273",
       "triggerID" : "d6b49aa7c6fcb0150e66cef3927938bb67a62ecd",
       "triggerType" : "PUSH"
     }, {
       "hash" : "afb15a19e449a983b7d825664624311cce1bd42a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4321",
       "triggerID" : "afb15a19e449a983b7d825664624311cce1bd42a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f1fb24d628f66f3f2929fe4e737a835e8391c0a8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4343",
       "triggerID" : "f1fb24d628f66f3f2929fe4e737a835e8391c0a8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "3a0861645eb533d48c06e3461b0991ca13397242",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4437",
       "triggerID" : "3a0861645eb533d48c06e3461b0991ca13397242",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5916531853d7d30a755a85ce8da4d38731e7d765",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "5916531853d7d30a755a85ce8da4d38731e7d765",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * ad5d5dcac846080e2e40255505dd35896a6c7a94 UNKNOWN
   * 3a0861645eb533d48c06e3461b0991ca13397242 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4437) 
   * 5916531853d7d30a755a85ce8da4d38731e7d765 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@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.

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



[GitHub] [flink] RocMarshal commented on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
RocMarshal commented on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-657972803


   @klion26 
   It seems to be getting more rigorous, as you say.
   Thank you for your help.
   I made some changes and fixed some formatting issues based on your suggestions.
   Please take a look.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-652303680


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "527265656bc37900ee79357233697fde8ce88b0e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4144",
       "triggerID" : "527265656bc37900ee79357233697fde8ce88b0e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4193",
       "triggerID" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "triggerType" : "PUSH"
     }, {
       "hash" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4195",
       "triggerID" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4233",
       "triggerID" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4238",
       "triggerID" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "triggerType" : "PUSH"
     }, {
       "hash" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4256",
       "triggerID" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4268",
       "triggerID" : "fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d6b49aa7c6fcb0150e66cef3927938bb67a62ecd",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4273",
       "triggerID" : "d6b49aa7c6fcb0150e66cef3927938bb67a62ecd",
       "triggerType" : "PUSH"
     }, {
       "hash" : "afb15a19e449a983b7d825664624311cce1bd42a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4321",
       "triggerID" : "afb15a19e449a983b7d825664624311cce1bd42a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f1fb24d628f66f3f2929fe4e737a835e8391c0a8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4343",
       "triggerID" : "f1fb24d628f66f3f2929fe4e737a835e8391c0a8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "3a0861645eb533d48c06e3461b0991ca13397242",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4437",
       "triggerID" : "3a0861645eb533d48c06e3461b0991ca13397242",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5916531853d7d30a755a85ce8da4d38731e7d765",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4441",
       "triggerID" : "5916531853d7d30a755a85ce8da4d38731e7d765",
       "triggerType" : "PUSH"
     }, {
       "hash" : "9e678a04b138c92d642ee96f4a6f05506644c5ac",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4456",
       "triggerID" : "9e678a04b138c92d642ee96f4a6f05506644c5ac",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fcc745b41155021174e1d85539064421318c0cf3",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4474",
       "triggerID" : "fcc745b41155021174e1d85539064421318c0cf3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b434eaab7904576207148894fa75f8f53ed29c41",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4478",
       "triggerID" : "b434eaab7904576207148894fa75f8f53ed29c41",
       "triggerType" : "PUSH"
     }, {
       "hash" : "98dcc88fa488050b6566f181b821ef9e86f2b8d6",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "98dcc88fa488050b6566f181b821ef9e86f2b8d6",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0d5eb5381c60a85925ad4269ada844fc49709b95",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "0d5eb5381c60a85925ad4269ada844fc49709b95",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * ad5d5dcac846080e2e40255505dd35896a6c7a94 UNKNOWN
   * fcc745b41155021174e1d85539064421318c0cf3 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4474) 
   * b434eaab7904576207148894fa75f8f53ed29c41 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4478) 
   * 98dcc88fa488050b6566f181b821ef9e86f2b8d6 UNKNOWN
   * 0d5eb5381c60a85925ad4269ada844fc49709b95 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@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.

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



[GitHub] [flink] flinkbot edited a comment on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-652303680


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "527265656bc37900ee79357233697fde8ce88b0e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4144",
       "triggerID" : "527265656bc37900ee79357233697fde8ce88b0e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4193",
       "triggerID" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "triggerType" : "PUSH"
     }, {
       "hash" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4195",
       "triggerID" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4233",
       "triggerID" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * ad5d5dcac846080e2e40255505dd35896a6c7a94 UNKNOWN
   * 709566f740d1070ade3d82b193583c2b01dbd49f Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4195) 
   * f284f503448e04e77c01d35b96a1130e52198f71 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4233) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@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.

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



[GitHub] [flink] flinkbot edited a comment on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-652303680


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "527265656bc37900ee79357233697fde8ce88b0e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4144",
       "triggerID" : "527265656bc37900ee79357233697fde8ce88b0e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4193",
       "triggerID" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "triggerType" : "PUSH"
     }, {
       "hash" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4195",
       "triggerID" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4233",
       "triggerID" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4238",
       "triggerID" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "triggerType" : "PUSH"
     }, {
       "hash" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4256",
       "triggerID" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4268",
       "triggerID" : "fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d6b49aa7c6fcb0150e66cef3927938bb67a62ecd",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4273",
       "triggerID" : "d6b49aa7c6fcb0150e66cef3927938bb67a62ecd",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * ad5d5dcac846080e2e40255505dd35896a6c7a94 UNKNOWN
   * fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4268) 
   * d6b49aa7c6fcb0150e66cef3927938bb67a62ecd Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4273) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@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.

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



[GitHub] [flink] flinkbot edited a comment on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-652303680


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "527265656bc37900ee79357233697fde8ce88b0e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4144",
       "triggerID" : "527265656bc37900ee79357233697fde8ce88b0e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4193",
       "triggerID" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "triggerType" : "PUSH"
     }, {
       "hash" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4195",
       "triggerID" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4233",
       "triggerID" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4238",
       "triggerID" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "triggerType" : "PUSH"
     }, {
       "hash" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4256",
       "triggerID" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4268",
       "triggerID" : "fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d6b49aa7c6fcb0150e66cef3927938bb67a62ecd",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "d6b49aa7c6fcb0150e66cef3927938bb67a62ecd",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * ad5d5dcac846080e2e40255505dd35896a6c7a94 UNKNOWN
   * fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4268) 
   * d6b49aa7c6fcb0150e66cef3927938bb67a62ecd UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@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.

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



[GitHub] [flink] flinkbot commented on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot commented on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-652303680


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "527265656bc37900ee79357233697fde8ce88b0e",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "527265656bc37900ee79357233697fde8ce88b0e",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 527265656bc37900ee79357233697fde8ce88b0e UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@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.

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



[GitHub] [flink] flinkbot edited a comment on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-652303680


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "527265656bc37900ee79357233697fde8ce88b0e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4144",
       "triggerID" : "527265656bc37900ee79357233697fde8ce88b0e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4193",
       "triggerID" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "triggerType" : "PUSH"
     }, {
       "hash" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4195",
       "triggerID" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4233",
       "triggerID" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4238",
       "triggerID" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "triggerType" : "PUSH"
     }, {
       "hash" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4256",
       "triggerID" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4268",
       "triggerID" : "fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d6b49aa7c6fcb0150e66cef3927938bb67a62ecd",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4273",
       "triggerID" : "d6b49aa7c6fcb0150e66cef3927938bb67a62ecd",
       "triggerType" : "PUSH"
     }, {
       "hash" : "afb15a19e449a983b7d825664624311cce1bd42a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4321",
       "triggerID" : "afb15a19e449a983b7d825664624311cce1bd42a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f1fb24d628f66f3f2929fe4e737a835e8391c0a8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4343",
       "triggerID" : "f1fb24d628f66f3f2929fe4e737a835e8391c0a8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "3a0861645eb533d48c06e3461b0991ca13397242",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4437",
       "triggerID" : "3a0861645eb533d48c06e3461b0991ca13397242",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5916531853d7d30a755a85ce8da4d38731e7d765",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4441",
       "triggerID" : "5916531853d7d30a755a85ce8da4d38731e7d765",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * ad5d5dcac846080e2e40255505dd35896a6c7a94 UNKNOWN
   * 5916531853d7d30a755a85ce8da4d38731e7d765 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4441) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@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.

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



[GitHub] [flink] flinkbot edited a comment on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-652303680


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "527265656bc37900ee79357233697fde8ce88b0e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4144",
       "triggerID" : "527265656bc37900ee79357233697fde8ce88b0e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4193",
       "triggerID" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "triggerType" : "PUSH"
     }, {
       "hash" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4195",
       "triggerID" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4233",
       "triggerID" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4238",
       "triggerID" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "triggerType" : "PUSH"
     }, {
       "hash" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4256",
       "triggerID" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4268",
       "triggerID" : "fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d6b49aa7c6fcb0150e66cef3927938bb67a62ecd",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4273",
       "triggerID" : "d6b49aa7c6fcb0150e66cef3927938bb67a62ecd",
       "triggerType" : "PUSH"
     }, {
       "hash" : "afb15a19e449a983b7d825664624311cce1bd42a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4321",
       "triggerID" : "afb15a19e449a983b7d825664624311cce1bd42a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f1fb24d628f66f3f2929fe4e737a835e8391c0a8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4343",
       "triggerID" : "f1fb24d628f66f3f2929fe4e737a835e8391c0a8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "3a0861645eb533d48c06e3461b0991ca13397242",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4437",
       "triggerID" : "3a0861645eb533d48c06e3461b0991ca13397242",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * ad5d5dcac846080e2e40255505dd35896a6c7a94 UNKNOWN
   * 3a0861645eb533d48c06e3461b0991ca13397242 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4437) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@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.

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



[GitHub] [flink] RocMarshal commented on a change in pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
RocMarshal commented on a change in pull request #12798:
URL: https://github.com/apache/flink/pull/12798#discussion_r450191178



##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -65,24 +54,19 @@ FROM MyTable
     ) AS T
 {% endhighlight %}
 
-This page will explain each keyword in more detail and will illustrate more complex examples.
+本页将更详细地解释每个关键字,并演示说明更复杂的示例。
 
-<span class="label label-danger">Attention</span> Flink's implementation of the `MATCH_RECOGNIZE`
-clause is a subset of the full standard. Only those features documented in the following sections
-are supported. Since the development is still in an early phase, please also take a look at the
-[known limitations](#known-limitations).
+<span class="label label-danger">注意</span> Flink 的 `MATCH_RECOGNIZE` 子句实现是完整标准的一个子集。仅支持以下部分中记录的功能。由于开发仍处于初期阶段,请查看[已知的局限](#已知的局限)。

Review comment:
       Yes, it's very important !




----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [flink] RocMarshal removed a comment on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
RocMarshal removed a comment on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-659134008


   @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.

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



[GitHub] [flink] RocMarshal edited a comment on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
RocMarshal edited a comment on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-657952807


   @klion26 
   It seems to be getting more rigorous, as you say.
   Thank you for your help. 
   I made some changes and fixed some formatting issues based on your suggestions.
   Please take a look.
   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-652303680


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "527265656bc37900ee79357233697fde8ce88b0e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4144",
       "triggerID" : "527265656bc37900ee79357233697fde8ce88b0e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4193",
       "triggerID" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "triggerType" : "PUSH"
     }, {
       "hash" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4195",
       "triggerID" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4233",
       "triggerID" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4238",
       "triggerID" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "triggerType" : "PUSH"
     }, {
       "hash" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4256",
       "triggerID" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4268",
       "triggerID" : "fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d6b49aa7c6fcb0150e66cef3927938bb67a62ecd",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4273",
       "triggerID" : "d6b49aa7c6fcb0150e66cef3927938bb67a62ecd",
       "triggerType" : "PUSH"
     }, {
       "hash" : "afb15a19e449a983b7d825664624311cce1bd42a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4321",
       "triggerID" : "afb15a19e449a983b7d825664624311cce1bd42a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f1fb24d628f66f3f2929fe4e737a835e8391c0a8",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4343",
       "triggerID" : "f1fb24d628f66f3f2929fe4e737a835e8391c0a8",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * ad5d5dcac846080e2e40255505dd35896a6c7a94 UNKNOWN
   * f1fb24d628f66f3f2929fe4e737a835e8391c0a8 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4343) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@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.

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



[GitHub] [flink] XBaith commented on a change in pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
XBaith commented on a change in pull request #12798:
URL: https://github.com/apache/flink/pull/12798#discussion_r448876995



##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -24,28 +24,17 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-It is a common use case to search for a set of event patterns, especially in case of data streams.
-Flink comes with a [complex event processing (CEP) library]({{ site.baseurl }}/dev/libs/cep.html)
-which allows for pattern detection in event streams. Furthermore, Flink's SQL API provides a
-relational way of expressing queries with a large set of built-in functions and rule-based
-optimizations that can be used out of the box.
-
-In December 2016, the International Organization for Standardization (ISO) released a new version
-of the SQL standard which includes _Row Pattern Recognition in SQL_
-([ISO/IEC TR 19075-5:2016](https://standards.iso.org/ittf/PubliclyAvailableStandards/c065143_ISO_IEC_TR_19075-5_2016.zip)).
-It allows Flink to consolidate CEP and SQL API using the `MATCH_RECOGNIZE` clause for complex event
-processing in SQL.
-
-A `MATCH_RECOGNIZE` clause enables the following tasks:
-* Logically partition and order the data that is used with the `PARTITION BY` and `ORDER BY`
-  clauses.
-* Define patterns of rows to seek using the `PATTERN` clause. These patterns use a syntax similar to
-  that of regular expressions.
-* The logical components of the row pattern variables are specified in the `DEFINE` clause.
-* Define measures, which are expressions usable in other parts of the SQL query, in the `MEASURES`
-  clause.
-
-The following example illustrates the syntax for basic pattern recognition:
+搜索一组事件模式(event pattern)是一种常见的用例,尤其是在数据流的情况下。Flink 提供 [复杂事件处理(CEP)库]({% link dev/libs/cep.zh.md %}),该库允许在事件流中进行模式检测。此外,Flink 的 SQL API 提供了一种关系式的查询表达方式,其中包含一大组内置函数和基于规则的优化,可以开箱即用。
+
+2016年12月,国际标准化组织(ISO)发布了新版本的 SQL 标准,其中包括在 _SQL 中的行模式识别(Row Pattern Recognition in SQL)_([ISO/IEC TR 19075-5:2016](https://standards.iso.org/ittf/PubliclyAvailableStandards/c065143_ISO_IEC_TR_19075-5_2016.zip))。它允许 Flink 使用 `MATCH_RECOGNIZE` 子句融合 CEP 和 SQL API,以便在 SQL 中进行复杂事件处理。
+
+一个 `MATCH_RECOGNIZE` 子句启用以下任务:

Review comment:
       ```suggestion
   `MATCH_RECOGNIZE` 子句启用以下任务:
   ```

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -24,28 +24,17 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-It is a common use case to search for a set of event patterns, especially in case of data streams.
-Flink comes with a [complex event processing (CEP) library]({{ site.baseurl }}/dev/libs/cep.html)
-which allows for pattern detection in event streams. Furthermore, Flink's SQL API provides a
-relational way of expressing queries with a large set of built-in functions and rule-based
-optimizations that can be used out of the box.
-
-In December 2016, the International Organization for Standardization (ISO) released a new version
-of the SQL standard which includes _Row Pattern Recognition in SQL_
-([ISO/IEC TR 19075-5:2016](https://standards.iso.org/ittf/PubliclyAvailableStandards/c065143_ISO_IEC_TR_19075-5_2016.zip)).
-It allows Flink to consolidate CEP and SQL API using the `MATCH_RECOGNIZE` clause for complex event
-processing in SQL.
-
-A `MATCH_RECOGNIZE` clause enables the following tasks:
-* Logically partition and order the data that is used with the `PARTITION BY` and `ORDER BY`
-  clauses.
-* Define patterns of rows to seek using the `PATTERN` clause. These patterns use a syntax similar to
-  that of regular expressions.
-* The logical components of the row pattern variables are specified in the `DEFINE` clause.
-* Define measures, which are expressions usable in other parts of the SQL query, in the `MEASURES`
-  clause.
-
-The following example illustrates the syntax for basic pattern recognition:
+搜索一组事件模式(event pattern)是一种常见的用例,尤其是在数据流的情况下。Flink 提供 [复杂事件处理(CEP)库]({% link dev/libs/cep.zh.md %}),该库允许在事件流中进行模式检测。此外,Flink 的 SQL API 提供了一种关系式的查询表达方式,其中包含一大组内置函数和基于规则的优化,可以开箱即用。
+
+2016年12月,国际标准化组织(ISO)发布了新版本的 SQL 标准,其中包括在 _SQL 中的行模式识别(Row Pattern Recognition in SQL)_([ISO/IEC TR 19075-5:2016](https://standards.iso.org/ittf/PubliclyAvailableStandards/c065143_ISO_IEC_TR_19075-5_2016.zip))。它允许 Flink 使用 `MATCH_RECOGNIZE` 子句融合 CEP 和 SQL API,以便在 SQL 中进行复杂事件处理。
+
+一个 `MATCH_RECOGNIZE` 子句启用以下任务:
+* 对与 `PARTITION BY` 和 `ORDER BY` 子句一起使用的数据进行逻辑分区和排序。
+* 使用 `PATTERN` 子句定义要查找的行的模式。这些模式使用类似于正则表达式的语法。
+* 行模式变量的逻辑组件在 `DEFINE` 子句中指定。
+* 在 `MEASURES` 子句中定义可用于 SQL 查询其他部分的表达式 measures。

Review comment:
       该句翻译是我的个人理解,可能并不完全正确。
   ```suggestion
   * measures 是指在 `MEASURES` 子句中定义的表达式,这些表达式可用在 SQL 查询中的其他部分。
   ```

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -92,52 +76,39 @@ project.
 </dependency>
 {% endhighlight %}
 
-Alternatively, you can also add the dependency to the cluster classpath (see the
-[dependency section]({{ site.baseurl}}/dev/project-configuration.html) for more information).
+或者,也可以将依赖项添加到集群类路径(查看[依赖部分]({% link dev/project-configuration.zh.md %})获取更多信息)。
 
-If you want to use the `MATCH_RECOGNIZE` clause in the
-[SQL Client]({{ site.baseurl}}/dev/table/sqlClient.html), you don't have to do anything as all the
-dependencies are included by default.
+如果你想在 [SQL Client]({% link dev/table/sqlClient.zh.md %}) 中使用 `MATCH_RECOGNIZE` 子句,你无需执行任何操作,因为默认情况下包含所有依赖项。
 
-### SQL Semantics
+### SQL 语义
 
-Every `MATCH_RECOGNIZE` query consists of the following clauses:
+每个 `MATCH_RECOGNIZE` 查询都包含以下子句:
 
-* [PARTITION BY](#partitioning) - defines the logical partitioning of the table; similar to a
-  `GROUP BY` operation.
-* [ORDER BY](#order-of-events) - specifies how the incoming rows should be ordered; this is
-  essential as patterns depend on an order.
-* [MEASURES](#define--measures) - defines output of the clause; similar to a `SELECT` clause.
-* [ONE ROW PER MATCH](#output-mode) - output mode which defines how many rows per match should be
-  produced.
-* [AFTER MATCH SKIP](#after-match-strategy) - specifies where the next match should start; this is
-  also a way to control how many distinct matches a single event can belong to.
-* [PATTERN](#defining-a-pattern) - allows constructing patterns that will be searched for using a
-  _regular expression_-like syntax.
-* [DEFINE](#define--measures) - this section defines the conditions that the pattern variables must
-  satisfy.
+* [PARTITION BY](#分区) - 定义表的逻辑分区;类似于 `GROUP BY` 操作。
+* [ORDER BY](#事件顺序) - 指定传入行的排序方式;这是必须的,因为模式依赖于顺序。
+* [MEASURES](#define--measures) - 定义子句的输出;类似于 `SELECT` 子句。
+* [ONE ROW PER MATCH](#输出方式) - 定义每次匹配应生成多少行的输出方式。

Review comment:
       ```suggestion
   * [ONE ROW PER MATCH](#输出方式) - 输出方式,定义每个匹配项应产生多少行。
   ```

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -92,52 +76,39 @@ project.
 </dependency>
 {% endhighlight %}
 
-Alternatively, you can also add the dependency to the cluster classpath (see the
-[dependency section]({{ site.baseurl}}/dev/project-configuration.html) for more information).
+或者,也可以将依赖项添加到集群类路径(查看[依赖部分]({% link dev/project-configuration.zh.md %})获取更多信息)。
 
-If you want to use the `MATCH_RECOGNIZE` clause in the
-[SQL Client]({{ site.baseurl}}/dev/table/sqlClient.html), you don't have to do anything as all the
-dependencies are included by default.
+如果你想在 [SQL Client]({% link dev/table/sqlClient.zh.md %}) 中使用 `MATCH_RECOGNIZE` 子句,你无需执行任何操作,因为默认情况下包含所有依赖项。
 
-### SQL Semantics
+### SQL 语义
 
-Every `MATCH_RECOGNIZE` query consists of the following clauses:
+每个 `MATCH_RECOGNIZE` 查询都包含以下子句:
 
-* [PARTITION BY](#partitioning) - defines the logical partitioning of the table; similar to a
-  `GROUP BY` operation.
-* [ORDER BY](#order-of-events) - specifies how the incoming rows should be ordered; this is
-  essential as patterns depend on an order.
-* [MEASURES](#define--measures) - defines output of the clause; similar to a `SELECT` clause.
-* [ONE ROW PER MATCH](#output-mode) - output mode which defines how many rows per match should be
-  produced.
-* [AFTER MATCH SKIP](#after-match-strategy) - specifies where the next match should start; this is
-  also a way to control how many distinct matches a single event can belong to.
-* [PATTERN](#defining-a-pattern) - allows constructing patterns that will be searched for using a
-  _regular expression_-like syntax.
-* [DEFINE](#define--measures) - this section defines the conditions that the pattern variables must
-  satisfy.
+* [PARTITION BY](#分区) - 定义表的逻辑分区;类似于 `GROUP BY` 操作。
+* [ORDER BY](#事件顺序) - 指定传入行的排序方式;这是必须的,因为模式依赖于顺序。
+* [MEASURES](#define--measures) - 定义子句的输出;类似于 `SELECT` 子句。
+* [ONE ROW PER MATCH](#输出方式) - 定义每次匹配应生成多少行的输出方式。
+* [AFTER MATCH SKIP](#匹配后的策略) - 指定下一个匹配的开始位置;这也是一种控制单个事件可以属于多少个不同匹配的方法。
+* [PATTERN](#定义模式) - 允许使用类似于 _正则表达式_ 的语法构造将要搜索的模式。

Review comment:
       ```suggestion
   * [PATTERN](#定义模式) - 允许构造类似于 _正则表达式_ 语法进行搜索的模式。
   ```

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -92,52 +76,39 @@ project.
 </dependency>
 {% endhighlight %}
 
-Alternatively, you can also add the dependency to the cluster classpath (see the
-[dependency section]({{ site.baseurl}}/dev/project-configuration.html) for more information).
+或者,也可以将依赖项添加到集群类路径(查看[依赖部分]({% link dev/project-configuration.zh.md %})获取更多信息)。
 
-If you want to use the `MATCH_RECOGNIZE` clause in the
-[SQL Client]({{ site.baseurl}}/dev/table/sqlClient.html), you don't have to do anything as all the
-dependencies are included by default.
+如果你想在 [SQL Client]({% link dev/table/sqlClient.zh.md %}) 中使用 `MATCH_RECOGNIZE` 子句,你无需执行任何操作,因为默认情况下包含所有依赖项。
 
-### SQL Semantics
+### SQL 语义
 
-Every `MATCH_RECOGNIZE` query consists of the following clauses:
+每个 `MATCH_RECOGNIZE` 查询都包含以下子句:
 
-* [PARTITION BY](#partitioning) - defines the logical partitioning of the table; similar to a
-  `GROUP BY` operation.
-* [ORDER BY](#order-of-events) - specifies how the incoming rows should be ordered; this is
-  essential as patterns depend on an order.
-* [MEASURES](#define--measures) - defines output of the clause; similar to a `SELECT` clause.
-* [ONE ROW PER MATCH](#output-mode) - output mode which defines how many rows per match should be
-  produced.
-* [AFTER MATCH SKIP](#after-match-strategy) - specifies where the next match should start; this is
-  also a way to control how many distinct matches a single event can belong to.
-* [PATTERN](#defining-a-pattern) - allows constructing patterns that will be searched for using a
-  _regular expression_-like syntax.
-* [DEFINE](#define--measures) - this section defines the conditions that the pattern variables must
-  satisfy.
+* [PARTITION BY](#分区) - 定义表的逻辑分区;类似于 `GROUP BY` 操作。
+* [ORDER BY](#事件顺序) - 指定传入行的排序方式;这是必须的,因为模式依赖于顺序。
+* [MEASURES](#define--measures) - 定义子句的输出;类似于 `SELECT` 子句。
+* [ONE ROW PER MATCH](#输出方式) - 定义每次匹配应生成多少行的输出方式。
+* [AFTER MATCH SKIP](#匹配后的策略) - 指定下一个匹配的开始位置;这也是一种控制单个事件可以属于多少个不同匹配的方法。
+* [PATTERN](#定义模式) - 允许使用类似于 _正则表达式_ 的语法构造将要搜索的模式。
+* [DEFINE](#define--measures) - 本节定义模式变量必须满足的条件。

Review comment:
       ```suggestion
   * [DEFINE](#define--measures) - 该部分定义了变量必须满足的条件。
   ```




----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-652303680


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "527265656bc37900ee79357233697fde8ce88b0e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4144",
       "triggerID" : "527265656bc37900ee79357233697fde8ce88b0e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4193",
       "triggerID" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "triggerType" : "PUSH"
     }, {
       "hash" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4195",
       "triggerID" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4233",
       "triggerID" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4238",
       "triggerID" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * ad5d5dcac846080e2e40255505dd35896a6c7a94 UNKNOWN
   * f284f503448e04e77c01d35b96a1130e52198f71 Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4233) 
   * 63895a2f0147d6a673d32b011e6fb9cbe57f7eac Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4238) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@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.

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



[GitHub] [flink] RocMarshal edited a comment on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
RocMarshal edited a comment on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-653711374


   Hi, @libenchao , @klion26 ,
   
   Could you help me to review this PR if you have free time?
   This  `review` task  is a bit huge for @XBaith  and me to complete.
   Thank you.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-652303680


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "527265656bc37900ee79357233697fde8ce88b0e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4144",
       "triggerID" : "527265656bc37900ee79357233697fde8ce88b0e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4193",
       "triggerID" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "triggerType" : "PUSH"
     }, {
       "hash" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4195",
       "triggerID" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4233",
       "triggerID" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4238",
       "triggerID" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "triggerType" : "PUSH"
     }, {
       "hash" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4256",
       "triggerID" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4268",
       "triggerID" : "fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d6b49aa7c6fcb0150e66cef3927938bb67a62ecd",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4273",
       "triggerID" : "d6b49aa7c6fcb0150e66cef3927938bb67a62ecd",
       "triggerType" : "PUSH"
     }, {
       "hash" : "afb15a19e449a983b7d825664624311cce1bd42a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4321",
       "triggerID" : "afb15a19e449a983b7d825664624311cce1bd42a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f1fb24d628f66f3f2929fe4e737a835e8391c0a8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4343",
       "triggerID" : "f1fb24d628f66f3f2929fe4e737a835e8391c0a8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "3a0861645eb533d48c06e3461b0991ca13397242",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4437",
       "triggerID" : "3a0861645eb533d48c06e3461b0991ca13397242",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5916531853d7d30a755a85ce8da4d38731e7d765",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4441",
       "triggerID" : "5916531853d7d30a755a85ce8da4d38731e7d765",
       "triggerType" : "PUSH"
     }, {
       "hash" : "9e678a04b138c92d642ee96f4a6f05506644c5ac",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "9e678a04b138c92d642ee96f4a6f05506644c5ac",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * ad5d5dcac846080e2e40255505dd35896a6c7a94 UNKNOWN
   * 5916531853d7d30a755a85ce8da4d38731e7d765 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4441) 
   * 9e678a04b138c92d642ee96f4a6f05506644c5ac UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@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.

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



[GitHub] [flink] XBaith edited a comment on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
XBaith edited a comment on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-652889212


   > Hi, @XBaith .
   > Could you help me to review this [PR](https://github.com/apache/flink/pull/12798) if you have free time?
   > Thank you.
   > Best,
   > Roc.
   
   Thanks for your contribution!
   The translation workload is a bit heavy, let me review step by step.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [flink] RocMarshal removed a comment on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
RocMarshal removed a comment on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-657952807


   @klion26 
   It seems to be getting more rigorous, as you say.
   Thank you for your help. 
   I made some changes and fixed some formatting issues based on your suggestions.
   Please take a look.
   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [flink] RocMarshal commented on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
RocMarshal commented on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-654777562


   Hi, @klion26 
   Thank you for your help.
   I made some changes based on your suggestions.  Please take a look.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-652303680


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "527265656bc37900ee79357233697fde8ce88b0e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4144",
       "triggerID" : "527265656bc37900ee79357233697fde8ce88b0e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4193",
       "triggerID" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "triggerType" : "PUSH"
     }, {
       "hash" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4195",
       "triggerID" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * ad5d5dcac846080e2e40255505dd35896a6c7a94 UNKNOWN
   * 61a9901b9d33644c5bc2f85e04960b9c388a2506 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4193) 
   * 709566f740d1070ade3d82b193583c2b01dbd49f Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4195) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@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.

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



[GitHub] [flink] flinkbot edited a comment on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-652303680


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "527265656bc37900ee79357233697fde8ce88b0e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4144",
       "triggerID" : "527265656bc37900ee79357233697fde8ce88b0e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4193",
       "triggerID" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "triggerType" : "PUSH"
     }, {
       "hash" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4195",
       "triggerID" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4233",
       "triggerID" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4238",
       "triggerID" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "triggerType" : "PUSH"
     }, {
       "hash" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4256",
       "triggerID" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4268",
       "triggerID" : "fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d6b49aa7c6fcb0150e66cef3927938bb67a62ecd",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4273",
       "triggerID" : "d6b49aa7c6fcb0150e66cef3927938bb67a62ecd",
       "triggerType" : "PUSH"
     }, {
       "hash" : "afb15a19e449a983b7d825664624311cce1bd42a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4321",
       "triggerID" : "afb15a19e449a983b7d825664624311cce1bd42a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f1fb24d628f66f3f2929fe4e737a835e8391c0a8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4343",
       "triggerID" : "f1fb24d628f66f3f2929fe4e737a835e8391c0a8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "3a0861645eb533d48c06e3461b0991ca13397242",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4437",
       "triggerID" : "3a0861645eb533d48c06e3461b0991ca13397242",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5916531853d7d30a755a85ce8da4d38731e7d765",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4441",
       "triggerID" : "5916531853d7d30a755a85ce8da4d38731e7d765",
       "triggerType" : "PUSH"
     }, {
       "hash" : "9e678a04b138c92d642ee96f4a6f05506644c5ac",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4456",
       "triggerID" : "9e678a04b138c92d642ee96f4a6f05506644c5ac",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fcc745b41155021174e1d85539064421318c0cf3",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4474",
       "triggerID" : "fcc745b41155021174e1d85539064421318c0cf3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b434eaab7904576207148894fa75f8f53ed29c41",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4478",
       "triggerID" : "b434eaab7904576207148894fa75f8f53ed29c41",
       "triggerType" : "PUSH"
     }, {
       "hash" : "98dcc88fa488050b6566f181b821ef9e86f2b8d6",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "98dcc88fa488050b6566f181b821ef9e86f2b8d6",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * ad5d5dcac846080e2e40255505dd35896a6c7a94 UNKNOWN
   * fcc745b41155021174e1d85539064421318c0cf3 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4474) 
   * b434eaab7904576207148894fa75f8f53ed29c41 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4478) 
   * 98dcc88fa488050b6566f181b821ef9e86f2b8d6 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@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.

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



[GitHub] [flink] flinkbot edited a comment on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-652303680


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "527265656bc37900ee79357233697fde8ce88b0e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4144",
       "triggerID" : "527265656bc37900ee79357233697fde8ce88b0e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4193",
       "triggerID" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "triggerType" : "PUSH"
     }, {
       "hash" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4195",
       "triggerID" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4233",
       "triggerID" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4238",
       "triggerID" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "triggerType" : "PUSH"
     }, {
       "hash" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4256",
       "triggerID" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4268",
       "triggerID" : "fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d6b49aa7c6fcb0150e66cef3927938bb67a62ecd",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4273",
       "triggerID" : "d6b49aa7c6fcb0150e66cef3927938bb67a62ecd",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * ad5d5dcac846080e2e40255505dd35896a6c7a94 UNKNOWN
   * d6b49aa7c6fcb0150e66cef3927938bb67a62ecd Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4273) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@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.

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



[GitHub] [flink] flinkbot edited a comment on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-652303680


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "527265656bc37900ee79357233697fde8ce88b0e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4144",
       "triggerID" : "527265656bc37900ee79357233697fde8ce88b0e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4193",
       "triggerID" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "triggerType" : "PUSH"
     }, {
       "hash" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4195",
       "triggerID" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4233",
       "triggerID" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4238",
       "triggerID" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "triggerType" : "PUSH"
     }, {
       "hash" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4256",
       "triggerID" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4268",
       "triggerID" : "fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d6b49aa7c6fcb0150e66cef3927938bb67a62ecd",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4273",
       "triggerID" : "d6b49aa7c6fcb0150e66cef3927938bb67a62ecd",
       "triggerType" : "PUSH"
     }, {
       "hash" : "afb15a19e449a983b7d825664624311cce1bd42a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4321",
       "triggerID" : "afb15a19e449a983b7d825664624311cce1bd42a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f1fb24d628f66f3f2929fe4e737a835e8391c0a8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4343",
       "triggerID" : "f1fb24d628f66f3f2929fe4e737a835e8391c0a8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "3a0861645eb533d48c06e3461b0991ca13397242",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4437",
       "triggerID" : "3a0861645eb533d48c06e3461b0991ca13397242",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5916531853d7d30a755a85ce8da4d38731e7d765",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4441",
       "triggerID" : "5916531853d7d30a755a85ce8da4d38731e7d765",
       "triggerType" : "PUSH"
     }, {
       "hash" : "9e678a04b138c92d642ee96f4a6f05506644c5ac",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4456",
       "triggerID" : "9e678a04b138c92d642ee96f4a6f05506644c5ac",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * ad5d5dcac846080e2e40255505dd35896a6c7a94 UNKNOWN
   * 9e678a04b138c92d642ee96f4a6f05506644c5ac Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4456) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@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.

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



[GitHub] [flink] RocMarshal removed a comment on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
RocMarshal removed a comment on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-657509118


   @klion26 
   Thank you for your help. And I made some changes and fixed some formatting issues based on your suggestions.
   It seems to be getting more rigorous, as you say.
   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-652303680


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "527265656bc37900ee79357233697fde8ce88b0e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4144",
       "triggerID" : "527265656bc37900ee79357233697fde8ce88b0e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4193",
       "triggerID" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "triggerType" : "PUSH"
     }, {
       "hash" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4195",
       "triggerID" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4233",
       "triggerID" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4238",
       "triggerID" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "triggerType" : "PUSH"
     }, {
       "hash" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4256",
       "triggerID" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4268",
       "triggerID" : "fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d6b49aa7c6fcb0150e66cef3927938bb67a62ecd",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4273",
       "triggerID" : "d6b49aa7c6fcb0150e66cef3927938bb67a62ecd",
       "triggerType" : "PUSH"
     }, {
       "hash" : "afb15a19e449a983b7d825664624311cce1bd42a",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "afb15a19e449a983b7d825664624311cce1bd42a",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * ad5d5dcac846080e2e40255505dd35896a6c7a94 UNKNOWN
   * d6b49aa7c6fcb0150e66cef3927938bb67a62ecd Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4273) 
   * afb15a19e449a983b7d825664624311cce1bd42a UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@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.

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



[GitHub] [flink] RocMarshal commented on a change in pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
RocMarshal commented on a change in pull request #12798:
URL: https://github.com/apache/flink/pull/12798#discussion_r453698513



##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -180,99 +158,68 @@ FROM Ticker
     ) MR;
 {% endhighlight %}
 
-The query partitions the `Ticker` table by the `symbol` column and orders it by the `rowtime`
-time attribute.
+此查询将 `Ticker` 表按照 `symbol` 列进行分区并按照 `rowtime` 属性进行排序。
 
-The `PATTERN` clause specifies that we are interested in a pattern with a starting event `START_ROW`
-that is followed by one or more `PRICE_DOWN` events and concluded with a `PRICE_UP` event. If such
-a pattern can be found, the next pattern match will be seeked at the last `PRICE_UP` event as
-indicated by the `AFTER MATCH SKIP TO LAST` clause.
+`PATTERN` 子句指定我们对以下模式感兴趣:该模式具有开始事件 `START_ROW`,然后是一个或多个 `PRICE_DOWN` 事件,并以 `PRICE_UP` 事件结束。如果可以找到这样的模式,如 `AFTER MATCH SKIP TO LAST` 子句所示,则从最后一个 `PRICE_UP` 事件开始寻找下一个模式匹配。
 
-The `DEFINE` clause specifies the conditions that need to be met for a `PRICE_DOWN` and `PRICE_UP`
-event. Although the `START_ROW` pattern variable is not present it has an implicit condition that
-is evaluated always as `TRUE`.
+`DEFINE` 子句指定 `PRICE_DOWN` 和 `PRICE_UP` 事件需要满足的条件。尽管不存在 `START_ROW` 模式变量,但它具有一个始终被评估为 `TRUE` 隐式条件。
 
-A pattern variable `PRICE_DOWN` is defined as a row with a price that is smaller than the price of
-the last row that met the `PRICE_DOWN` condition. For the initial case or when there is no last row
-that met the `PRICE_DOWN` condition, the price of the row should be smaller than the price of the
-preceding row in the pattern (referenced by `START_ROW`).
+模式变量 `PRICE_DOWN` 定义为价格小于满足 `PRICE_DOWN` 条件的最后一行。对于初始情况或没有满足 `PRICE_DOWN` 条件的最后一行时,该行的价格应小于该模式中前一行(由 `START_ROW` 引用)的价格。
 
-A pattern variable `PRICE_UP` is defined as a row with a price that is larger than the price of the
-last row that met the `PRICE_DOWN` condition.
+模式变量 `PRICE_UP` 定义为价格大于满足 `PRICE_DOWN` 条件的最后一行。
 
-This query produces a summary row for each period in which the price of a stock was continuously
-decreasing.
+此查询为股票价格持续下跌的每个期间生成摘要行。
 
-The exact representation of the output rows is defined in the `MEASURES` part of the query. The
-number of output rows is defined by the `ONE ROW PER MATCH` output mode.
+在查询的 `MEASURES` 子句部分定义确切的输出行信息。输出行数由 `ONE ROW PER MATCH` 输出方式定义。
 
 {% highlight text %}
  symbol       start_tstamp       bottom_tstamp         end_tstamp
 =========  ==================  ==================  ==================
 ACME       01-APR-11 10:00:04  01-APR-11 10:00:07  01-APR-11 10:00:08
 {% endhighlight %}
 
-The resulting row describes a period of falling prices that started at `01-APR-11 10:00:04` and
-achieved the lowest price at `01-APR-11 10:00:07` that increased again at `01-APR-11 10:00:08`.
+该行结果描述了从 `01-APR-11 10:00:04` 开始的价格下跌期,在 `01-APR-11 10:00:07` 达到最低价格,到 `01-APR-11 10:00:08` 再次上涨。
 
-Partitioning
+<a name="partitioning"></a>
+
+分区
 ------------
 
-It is possible to look for patterns in partitioned data, e.g., trends for a single ticker or a
-particular user. This can be expressed using the `PARTITION BY` clause. The clause is similar to
-using `GROUP BY` for aggregations.
+可以在分区数据中寻找模式,例如单个股票行情或特定用户的趋势。这可以用 `PARTITION BY` 子句来表示。该子句类似于对聚合使用 `GROUP BY`。

Review comment:
       ```suggestion
   可以在分区数据中寻找模式,例如单个股票行情或特定用户的趋势。这可以用 `PARTITION BY` 子句来表示。该子句类似于对 aggregation 使用 `GROUP BY`。
   ```

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -92,52 +80,43 @@ project.
 </dependency>
 {% endhighlight %}
 
-Alternatively, you can also add the dependency to the cluster classpath (see the
-[dependency section]({{ site.baseurl}}/dev/project-configuration.html) for more information).
+或者,也可以将依赖项添加到集群 classpath(查看 [dependency section]({% link dev/project-configuration.zh.md %}) 获取更多相关依赖信息)。
+
+如果你想在 [SQL Client]({% link dev/table/sqlClient.zh.md %}) 中使用 `MATCH_RECOGNIZE` 子句,你无需执行任何操作,因为默认情况下包含所有依赖项。
+
+<a name="sql-semantics"></a>
 
-If you want to use the `MATCH_RECOGNIZE` clause in the
-[SQL Client]({{ site.baseurl}}/dev/table/sqlClient.html), you don't have to do anything as all the
-dependencies are included by default.
+### SQL 语义
 
-### SQL Semantics
+每个 `MATCH_RECOGNIZE` 查询都包含以下子句:
 
-Every `MATCH_RECOGNIZE` query consists of the following clauses:
+* [PARTITION BY](#partitioning) - 定义表的逻辑分区;类似于 `GROUP BY` 操作。
+* [ORDER BY](#order-of-events) - 指定传入行的排序方式;这是必须的,因为模式依赖于顺序。
+* [MEASURES](#define--measures) - 定义子句的输出;类似于 `SELECT` 子句。
+* [ONE ROW PER MATCH](#output-mode) - 输出方式,定义每个匹配项应产生多少行。
+* [AFTER MATCH SKIP](#after-match-strategy) - 指定下一个匹配的开始位置;这也是一种控制单个事件可以属于多少个不同匹配的方法。
+* [PATTERN](#defining-a-pattern) - 允许使用类似于 _正则表达式_ 的语法构造搜索的模式。
+* [DEFINE](#define--measures) - 本部分定义了模式变量必须满足的条件。
 
-* [PARTITION BY](#partitioning) - defines the logical partitioning of the table; similar to a
-  `GROUP BY` operation.
-* [ORDER BY](#order-of-events) - specifies how the incoming rows should be ordered; this is
-  essential as patterns depend on an order.
-* [MEASURES](#define--measures) - defines output of the clause; similar to a `SELECT` clause.
-* [ONE ROW PER MATCH](#output-mode) - output mode which defines how many rows per match should be
-  produced.
-* [AFTER MATCH SKIP](#after-match-strategy) - specifies where the next match should start; this is
-  also a way to control how many distinct matches a single event can belong to.
-* [PATTERN](#defining-a-pattern) - allows constructing patterns that will be searched for using a
-  _regular expression_-like syntax.
-* [DEFINE](#define--measures) - this section defines the conditions that the pattern variables must
-  satisfy.
+<span class="label label-danger">注意</span> 目前,`MATCH_RECOGNIZE` 子句只能应用于追加表([append table]({% link dev/table/streaming/dynamic_tables.zh.md %}#update-and-append-queries))。此外,它还总是生成一个追加表。

Review comment:
       ```suggestion
   <span class="label label-danger">注意</span> 目前,`MATCH_RECOGNIZE` 子句只能应用于[追加表]({% link dev/table/streaming/dynamic_tables.zh.md %}#update-and-append-queries)。此外,它也总是生成一个追加表。
   ```

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -92,52 +80,43 @@ project.
 </dependency>
 {% endhighlight %}
 
-Alternatively, you can also add the dependency to the cluster classpath (see the
-[dependency section]({{ site.baseurl}}/dev/project-configuration.html) for more information).
+或者,也可以将依赖项添加到集群 classpath(查看 [dependency section]({% link dev/project-configuration.zh.md %}) 获取更多相关依赖信息)。
+
+如果你想在 [SQL Client]({% link dev/table/sqlClient.zh.md %}) 中使用 `MATCH_RECOGNIZE` 子句,你无需执行任何操作,因为默认情况下包含所有依赖项。
+
+<a name="sql-semantics"></a>
 
-If you want to use the `MATCH_RECOGNIZE` clause in the
-[SQL Client]({{ site.baseurl}}/dev/table/sqlClient.html), you don't have to do anything as all the
-dependencies are included by default.
+### SQL 语义
 
-### SQL Semantics
+每个 `MATCH_RECOGNIZE` 查询都包含以下子句:
 
-Every `MATCH_RECOGNIZE` query consists of the following clauses:
+* [PARTITION BY](#partitioning) - 定义表的逻辑分区;类似于 `GROUP BY` 操作。
+* [ORDER BY](#order-of-events) - 指定传入行的排序方式;这是必须的,因为模式依赖于顺序。
+* [MEASURES](#define--measures) - 定义子句的输出;类似于 `SELECT` 子句。
+* [ONE ROW PER MATCH](#output-mode) - 输出方式,定义每个匹配项应产生多少行。
+* [AFTER MATCH SKIP](#after-match-strategy) - 指定下一个匹配的开始位置;这也是一种控制单个事件可以属于多少个不同匹配的方法。

Review comment:
       ```suggestion
   * [AFTER MATCH SKIP](#after-match-strategy) - 指定下一个匹配的开始位置;这也是控制单个事件可以属于多少个不同匹配项的方法。
   ```

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -180,99 +158,68 @@ FROM Ticker
     ) MR;
 {% endhighlight %}
 
-The query partitions the `Ticker` table by the `symbol` column and orders it by the `rowtime`
-time attribute.
+此查询将 `Ticker` 表按照 `symbol` 列进行分区并按照 `rowtime` 属性进行排序。
 
-The `PATTERN` clause specifies that we are interested in a pattern with a starting event `START_ROW`
-that is followed by one or more `PRICE_DOWN` events and concluded with a `PRICE_UP` event. If such
-a pattern can be found, the next pattern match will be seeked at the last `PRICE_UP` event as
-indicated by the `AFTER MATCH SKIP TO LAST` clause.
+`PATTERN` 子句指定我们对以下模式感兴趣:该模式具有开始事件 `START_ROW`,然后是一个或多个 `PRICE_DOWN` 事件,并以 `PRICE_UP` 事件结束。如果可以找到这样的模式,如 `AFTER MATCH SKIP TO LAST` 子句所示,则从最后一个 `PRICE_UP` 事件开始寻找下一个模式匹配。
 
-The `DEFINE` clause specifies the conditions that need to be met for a `PRICE_DOWN` and `PRICE_UP`
-event. Although the `START_ROW` pattern variable is not present it has an implicit condition that
-is evaluated always as `TRUE`.
+`DEFINE` 子句指定 `PRICE_DOWN` 和 `PRICE_UP` 事件需要满足的条件。尽管不存在 `START_ROW` 模式变量,但它具有一个始终被评估为 `TRUE` 隐式条件。
 
-A pattern variable `PRICE_DOWN` is defined as a row with a price that is smaller than the price of
-the last row that met the `PRICE_DOWN` condition. For the initial case or when there is no last row
-that met the `PRICE_DOWN` condition, the price of the row should be smaller than the price of the
-preceding row in the pattern (referenced by `START_ROW`).
+模式变量 `PRICE_DOWN` 定义为价格小于满足 `PRICE_DOWN` 条件的最后一行。对于初始情况或没有满足 `PRICE_DOWN` 条件的最后一行时,该行的价格应小于该模式中前一行(由 `START_ROW` 引用)的价格。
 
-A pattern variable `PRICE_UP` is defined as a row with a price that is larger than the price of the
-last row that met the `PRICE_DOWN` condition.
+模式变量 `PRICE_UP` 定义为价格大于满足 `PRICE_DOWN` 条件的最后一行。
 
-This query produces a summary row for each period in which the price of a stock was continuously
-decreasing.
+此查询为股票价格持续下跌的每个期间生成摘要行。
 
-The exact representation of the output rows is defined in the `MEASURES` part of the query. The
-number of output rows is defined by the `ONE ROW PER MATCH` output mode.
+在查询的 `MEASURES` 子句部分定义确切的输出行信息。输出行数由 `ONE ROW PER MATCH` 输出方式定义。
 
 {% highlight text %}
  symbol       start_tstamp       bottom_tstamp         end_tstamp
 =========  ==================  ==================  ==================
 ACME       01-APR-11 10:00:04  01-APR-11 10:00:07  01-APR-11 10:00:08
 {% endhighlight %}
 
-The resulting row describes a period of falling prices that started at `01-APR-11 10:00:04` and
-achieved the lowest price at `01-APR-11 10:00:07` that increased again at `01-APR-11 10:00:08`.
+该行结果描述了从 `01-APR-11 10:00:04` 开始的价格下跌期,在 `01-APR-11 10:00:07` 达到最低价格,到 `01-APR-11 10:00:08` 再次上涨。
 
-Partitioning
+<a name="partitioning"></a>
+
+分区
 ------------
 
-It is possible to look for patterns in partitioned data, e.g., trends for a single ticker or a
-particular user. This can be expressed using the `PARTITION BY` clause. The clause is similar to
-using `GROUP BY` for aggregations.
+可以在分区数据中寻找模式,例如单个股票行情或特定用户的趋势。这可以用 `PARTITION BY` 子句来表示。该子句类似于对聚合使用 `GROUP BY`。
+
+<span class="label label-danger">注意</span> 强烈建议对传入的数据进行分区,否则 `MATCH_RECOGNIZE` 子句将被转换为非并行算子,以确保全局排序。
 
-<span class="label label-danger">Attention</span> It is highly advised to partition the incoming
-data because otherwise the `MATCH_RECOGNIZE` clause will be translated into a non-parallel operator
-to ensure global ordering.
+<a name="order-of-events"></a>
 
-Order of Events
+事件顺序
 ---------------
 
-Apache Flink allows for searching for patterns based on time; either
-[processing time or event time](time_attributes.html).
+Apache Flink 可以根据时间([处理时间或者事件时间]({% link dev/table/streaming/time_attributes.zh.md %}))进行模式搜索。
 
-In case of event time, the events are sorted before they are passed to the internal pattern state
-machine. As a consequence, the produced output will be correct regardless of the order in which
-rows are appended to the table. Instead, the pattern is evaluated in the order specified by the
-time contained in each row.
+如果是事件时间,则在将事件传递到内部模式状态机之前对其进行排序。所以,无论行添加到表的顺序如何,生成的输出都是正确的。相反,模式是按照每行中包含的时间指定的顺序计算的。
 
-The `MATCH_RECOGNIZE` clause assumes a [time attribute](time_attributes.html) with ascending
-ordering as the first argument to `ORDER BY` clause.
+`MATCH_RECOGNIZE` 子句假定升序的 [时间属性]({% link dev/table/streaming/time_attributes.zh.md %}) 是 `ORDER BY` 子句的第一个参数。
 
-For the example `Ticker` table, a definition like `ORDER BY rowtime ASC, price DESC` is valid but
-`ORDER BY price, rowtime` or `ORDER BY rowtime DESC, price ASC` is not.
+对于示例 `Ticker` 表,诸如 `ORDER BY rowtime ASC, price DESC` 的定义是有效的,但 `ORDER BY price, rowtime` 或者 `ORDER BY rowtime DESC, price ASC` 是无效的。
 
 Define & Measures
 -----------------
 
-The `DEFINE` and `MEASURES` keywords have similar meanings to the `WHERE` and `SELECT` clauses in a
-simple SQL query.
+`DEFINE` 和 `MEASURES` 关键字与简单 SQL 查询中的 `WHERE` 和 `SELECT` 子句具有相近的含义。
 
-The `MEASURES` clause defines what will be included in the output of a matching pattern. It can
-project columns and define expressions for evaluation. The number of produced rows depends on the
-[output mode](#output-mode) setting.
+`MEASURES` 子句定义匹配模式的输出中要包含哪些内容。它可以投影列并定义表达式进行计算。产生的行数取决于[输出方式](#output-mode)设置。
 
-The `DEFINE` clause specifies conditions that rows have to fulfill in order to be classified to a
-corresponding [pattern variable](#defining-a-pattern). If a condition is not defined for a pattern
-variable, a default condition will be used which evaluates to `true` for every row.
+`DEFINE` 子句指定行必须满足的条件才能被分类到相应的[模式变量](#defining-a-pattern)。如果没有为模式变量定义条件,则将使用对每一行的计算结果为 `true` 的默认条件。

Review comment:
       ```suggestion
   `DEFINE` 子句指定行必须满足的条件才能被分类到相应的[模式变量](#defining-a-pattern)。如果没有为模式变量定义条件,则将对每一行使用计算结果为 `true` 的默认条件。
   ```

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -323,52 +268,47 @@ ACME       01-APR-11 10:00:00  01-APR-11 10:00:03     14.5
 ACME       01-APR-11 10:00:05  01-APR-11 10:00:10     13.5
 {% endhighlight %}
 
-<span class="label label-info">Note</span> Aggregations can be applied to expressions, but only if
-they reference a single pattern variable. Thus `SUM(A.price * A.tax)` is a valid one, but
-`AVG(A.price * B.tax)` is not.
+<span class="label label-info">注意</span> 聚合可以应用于表达式,但前提是它们引用单个模式变量。因此,`SUM(A.price * A.tax)` 是有效的,而 `AVG(A.price * B.tax)` 则是无效的。
 
-<span class="label label-danger">Attention</span> `DISTINCT` aggregations are not supported.
+<span class="label label-danger">注意</span> 不支持 `DISTINCT` 聚合。

Review comment:
       ```suggestion
   <span class="label label-danger">注意</span> 不支持 `DISTINCT` aggregation。
   ```

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -1091,42 +983,31 @@ DEFINE
   C as C.price > 20
 {% endhighlight %}
 
-<span class="label label-danger">Attention</span> Please note that the `MATCH_RECOGNIZE` clause
-does not use a configured [state retention time](query_configuration.html#idle-state-retention-time).
-One may want to use the `WITHIN` [clause](#time-constraint) for this purpose.
+<span class="label label-danger">注意</span> 请注意,`MATCH_RECOGNIZE` 子句未使用配置的 [state retention time]({% link dev/table/streaming/query_configuration.zh.md %}#idle-state-retention-time)。为此,可能需要使用 `WITHIN` [clause](#known-limitations)。

Review comment:
       ```suggestion
   <span class="label label-danger">注意</span> 请注意,`MATCH_RECOGNIZE` 子句未使用配置的 [state retention time]({% link dev/table/streaming/query_configuration.zh.md %}#idle-state-retention-time)。为此,可能需要使用 `WITHIN` [子句](#time-constraint)。
   ```

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -180,99 +158,68 @@ FROM Ticker
     ) MR;
 {% endhighlight %}
 
-The query partitions the `Ticker` table by the `symbol` column and orders it by the `rowtime`
-time attribute.
+此查询将 `Ticker` 表按照 `symbol` 列进行分区并按照 `rowtime` 属性进行排序。
 
-The `PATTERN` clause specifies that we are interested in a pattern with a starting event `START_ROW`
-that is followed by one or more `PRICE_DOWN` events and concluded with a `PRICE_UP` event. If such
-a pattern can be found, the next pattern match will be seeked at the last `PRICE_UP` event as
-indicated by the `AFTER MATCH SKIP TO LAST` clause.
+`PATTERN` 子句指定我们对以下模式感兴趣:该模式具有开始事件 `START_ROW`,然后是一个或多个 `PRICE_DOWN` 事件,并以 `PRICE_UP` 事件结束。如果可以找到这样的模式,如 `AFTER MATCH SKIP TO LAST` 子句所示,则从最后一个 `PRICE_UP` 事件开始寻找下一个模式匹配。
 
-The `DEFINE` clause specifies the conditions that need to be met for a `PRICE_DOWN` and `PRICE_UP`
-event. Although the `START_ROW` pattern variable is not present it has an implicit condition that
-is evaluated always as `TRUE`.
+`DEFINE` 子句指定 `PRICE_DOWN` 和 `PRICE_UP` 事件需要满足的条件。尽管不存在 `START_ROW` 模式变量,但它具有一个始终被评估为 `TRUE` 隐式条件。
 
-A pattern variable `PRICE_DOWN` is defined as a row with a price that is smaller than the price of
-the last row that met the `PRICE_DOWN` condition. For the initial case or when there is no last row
-that met the `PRICE_DOWN` condition, the price of the row should be smaller than the price of the
-preceding row in the pattern (referenced by `START_ROW`).
+模式变量 `PRICE_DOWN` 定义为价格小于满足 `PRICE_DOWN` 条件的最后一行。对于初始情况或没有满足 `PRICE_DOWN` 条件的最后一行时,该行的价格应小于该模式中前一行(由 `START_ROW` 引用)的价格。
 
-A pattern variable `PRICE_UP` is defined as a row with a price that is larger than the price of the
-last row that met the `PRICE_DOWN` condition.
+模式变量 `PRICE_UP` 定义为价格大于满足 `PRICE_DOWN` 条件的最后一行。
 
-This query produces a summary row for each period in which the price of a stock was continuously
-decreasing.
+此查询为股票价格持续下跌的每个期间生成摘要行。
 
-The exact representation of the output rows is defined in the `MEASURES` part of the query. The
-number of output rows is defined by the `ONE ROW PER MATCH` output mode.
+在查询的 `MEASURES` 子句部分定义确切的输出行信息。输出行数由 `ONE ROW PER MATCH` 输出方式定义。
 
 {% highlight text %}
  symbol       start_tstamp       bottom_tstamp         end_tstamp
 =========  ==================  ==================  ==================
 ACME       01-APR-11 10:00:04  01-APR-11 10:00:07  01-APR-11 10:00:08
 {% endhighlight %}
 
-The resulting row describes a period of falling prices that started at `01-APR-11 10:00:04` and
-achieved the lowest price at `01-APR-11 10:00:07` that increased again at `01-APR-11 10:00:08`.
+该行结果描述了从 `01-APR-11 10:00:04` 开始的价格下跌期,在 `01-APR-11 10:00:07` 达到最低价格,到 `01-APR-11 10:00:08` 再次上涨。
 
-Partitioning
+<a name="partitioning"></a>
+
+分区
 ------------
 
-It is possible to look for patterns in partitioned data, e.g., trends for a single ticker or a
-particular user. This can be expressed using the `PARTITION BY` clause. The clause is similar to
-using `GROUP BY` for aggregations.
+可以在分区数据中寻找模式,例如单个股票行情或特定用户的趋势。这可以用 `PARTITION BY` 子句来表示。该子句类似于对聚合使用 `GROUP BY`。
+
+<span class="label label-danger">注意</span> 强烈建议对传入的数据进行分区,否则 `MATCH_RECOGNIZE` 子句将被转换为非并行算子,以确保全局排序。
 
-<span class="label label-danger">Attention</span> It is highly advised to partition the incoming
-data because otherwise the `MATCH_RECOGNIZE` clause will be translated into a non-parallel operator
-to ensure global ordering.
+<a name="order-of-events"></a>
 
-Order of Events
+事件顺序
 ---------------
 
-Apache Flink allows for searching for patterns based on time; either
-[processing time or event time](time_attributes.html).
+Apache Flink 可以根据时间([处理时间或者事件时间]({% link dev/table/streaming/time_attributes.zh.md %}))进行模式搜索。
 
-In case of event time, the events are sorted before they are passed to the internal pattern state
-machine. As a consequence, the produced output will be correct regardless of the order in which
-rows are appended to the table. Instead, the pattern is evaluated in the order specified by the
-time contained in each row.
+如果是事件时间,则在将事件传递到内部模式状态机之前对其进行排序。所以,无论行添加到表的顺序如何,生成的输出都是正确的。相反,模式是按照每行中包含的时间指定的顺序计算的。

Review comment:
       ```suggestion
   如果是事件时间,则在将事件传递到内部模式状态机之前对其进行排序。所以,无论行添加到表的顺序如何,生成的输出都是正确的。而模式是按照每行中所包含的时间指定顺序计算的。
   ```

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -65,24 +54,23 @@ FROM MyTable
     ) AS T
 {% endhighlight %}
 
-This page will explain each keyword in more detail and will illustrate more complex examples.
+本页将更详细地解释每个关键字,并演示说明更复杂的示例。
 
-<span class="label label-danger">Attention</span> Flink's implementation of the `MATCH_RECOGNIZE`
-clause is a subset of the full standard. Only those features documented in the following sections
-are supported. Since the development is still in an early phase, please also take a look at the
-[known limitations](#known-limitations).
+<span class="label label-danger">注意</span> Flink 的 `MATCH_RECOGNIZE` 子句实现是完整标准的一个子集。仅支持以下部分中记录的功能。由于开发仍处于初期阶段,请查看[已知的局限](#known-limitations)。

Review comment:
       ```suggestion
   <span class="label label-danger">注意</span> Flink 的 `MATCH_RECOGNIZE` 子句实现是一个完整标准子集。仅支持以下部分中记录的功能。目前开发仍处于初期阶段,请查看[已知的局限](#known-limitations)。
   ```

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -24,28 +24,17 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-It is a common use case to search for a set of event patterns, especially in case of data streams.
-Flink comes with a [complex event processing (CEP) library]({{ site.baseurl }}/dev/libs/cep.html)
-which allows for pattern detection in event streams. Furthermore, Flink's SQL API provides a
-relational way of expressing queries with a large set of built-in functions and rule-based
-optimizations that can be used out of the box.
-
-In December 2016, the International Organization for Standardization (ISO) released a new version
-of the SQL standard which includes _Row Pattern Recognition in SQL_
-([ISO/IEC TR 19075-5:2016](https://standards.iso.org/ittf/PubliclyAvailableStandards/c065143_ISO_IEC_TR_19075-5_2016.zip)).
-It allows Flink to consolidate CEP and SQL API using the `MATCH_RECOGNIZE` clause for complex event
-processing in SQL.
-
-A `MATCH_RECOGNIZE` clause enables the following tasks:
-* Logically partition and order the data that is used with the `PARTITION BY` and `ORDER BY`
-  clauses.
-* Define patterns of rows to seek using the `PATTERN` clause. These patterns use a syntax similar to
-  that of regular expressions.
-* The logical components of the row pattern variables are specified in the `DEFINE` clause.
-* Define measures, which are expressions usable in other parts of the SQL query, in the `MEASURES`
-  clause.
-
-The following example illustrates the syntax for basic pattern recognition:
+搜索一组事件模式(event pattern)是一种常见的用例,尤其是在数据流的情况下。Flink 提供[复杂事件处理(CEP)库]({% link dev/libs/cep.zh.md %}),该库允许在事件流中进行模式检测。此外,Flink 的 SQL API 提供了一种关系式的查询表达方式,其中包含大量内置函数和基于规则的优化,可以开箱即用。

Review comment:
       ```suggestion
   搜索一组事件模式(event pattern)是一种常见的用例,尤其是在数据流情景中。Flink 提供[复杂事件处理(CEP)库]({% link dev/libs/cep.zh.md %}),该库允许在事件流中进行模式检测。此外,Flink 的 SQL API 提供了一种关系式的查询表达方式,其中包含大量内置函数和基于规则的优化,可以开箱即用。
   ```

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -24,28 +24,17 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-It is a common use case to search for a set of event patterns, especially in case of data streams.
-Flink comes with a [complex event processing (CEP) library]({{ site.baseurl }}/dev/libs/cep.html)
-which allows for pattern detection in event streams. Furthermore, Flink's SQL API provides a
-relational way of expressing queries with a large set of built-in functions and rule-based
-optimizations that can be used out of the box.
-
-In December 2016, the International Organization for Standardization (ISO) released a new version
-of the SQL standard which includes _Row Pattern Recognition in SQL_
-([ISO/IEC TR 19075-5:2016](https://standards.iso.org/ittf/PubliclyAvailableStandards/c065143_ISO_IEC_TR_19075-5_2016.zip)).
-It allows Flink to consolidate CEP and SQL API using the `MATCH_RECOGNIZE` clause for complex event
-processing in SQL.
-
-A `MATCH_RECOGNIZE` clause enables the following tasks:
-* Logically partition and order the data that is used with the `PARTITION BY` and `ORDER BY`
-  clauses.
-* Define patterns of rows to seek using the `PATTERN` clause. These patterns use a syntax similar to
-  that of regular expressions.
-* The logical components of the row pattern variables are specified in the `DEFINE` clause.
-* Define measures, which are expressions usable in other parts of the SQL query, in the `MEASURES`
-  clause.
-
-The following example illustrates the syntax for basic pattern recognition:
+搜索一组事件模式(event pattern)是一种常见的用例,尤其是在数据流的情况下。Flink 提供[复杂事件处理(CEP)库]({% link dev/libs/cep.zh.md %}),该库允许在事件流中进行模式检测。此外,Flink 的 SQL API 提供了一种关系式的查询表达方式,其中包含大量内置函数和基于规则的优化,可以开箱即用。
+
+2016 年 12 月,国际标准化组织(ISO)发布了新版本的 SQL 标准,其中包括在 _SQL 中的行模式识别(Row Pattern Recognition in SQL)_([ISO/IEC TR 19075-5:2016](https://standards.iso.org/ittf/PubliclyAvailableStandards/c065143_ISO_IEC_TR_19075-5_2016.zip))。它允许 Flink 使用 `MATCH_RECOGNIZE` 子句融合 CEP 和 SQL API,以便在 SQL 中进行复杂事件处理。
+
+`MATCH_RECOGNIZE` 子句启用以下任务:
+* 使用 `PARTITION BY` 和 `ORDER BY` 子句对数据进行逻辑分区和排序。
+* 使用 `PATTERN` 子句定义要查找的行的模式。这些模式使用类似于正则表达式的语法。

Review comment:
       ```suggestion
   * 使用 `PATTERN` 子句定义要查找的行模式。这些模式使用类似于正则表达式的语法。
   ```

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -805,14 +716,14 @@ The table consists of the following columns:
       <td></td>
       <td>31</td>
       <td>20</td>
-      <td>Not mapped because <code>35 &lt; 2 * 20</code>.</td>
+      <td>因为 <code>35 &lt; 2 * 20</code> 没有映射。</td>
     </tr>
   </tbody>
 </table>
 
-It might also make sense to use the default pattern variable with logical offsets.
+将默认模式变量与逻辑偏移量一起使用也可能很有意义。
 
-In this case, an offset considers all the rows mapped so far:
+在这种情况下,偏移量会包含到目前为止映射的所有行:

Review comment:
       ```suggestion
   在这种情况下,offset 会包含到目前为止映射的所有行:
   ```

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -323,52 +268,47 @@ ACME       01-APR-11 10:00:00  01-APR-11 10:00:03     14.5
 ACME       01-APR-11 10:00:05  01-APR-11 10:00:10     13.5
 {% endhighlight %}
 
-<span class="label label-info">Note</span> Aggregations can be applied to expressions, but only if
-they reference a single pattern variable. Thus `SUM(A.price * A.tax)` is a valid one, but
-`AVG(A.price * B.tax)` is not.
+<span class="label label-info">注意</span> 聚合可以应用于表达式,但前提是它们引用单个模式变量。因此,`SUM(A.price * A.tax)` 是有效的,而 `AVG(A.price * B.tax)` 则是无效的。

Review comment:
       ```suggestion
   <span class="label label-info">注意</span> Aggregation 可以应用于表达式,但前提是它们引用单个模式变量。因此,`SUM(A.price * A.tax)` 是有效的,而 `AVG(A.price * B.tax)` 则是无效的。
   ```

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -180,99 +158,68 @@ FROM Ticker
     ) MR;
 {% endhighlight %}
 
-The query partitions the `Ticker` table by the `symbol` column and orders it by the `rowtime`
-time attribute.
+此查询将 `Ticker` 表按照 `symbol` 列进行分区并按照 `rowtime` 属性进行排序。
 
-The `PATTERN` clause specifies that we are interested in a pattern with a starting event `START_ROW`
-that is followed by one or more `PRICE_DOWN` events and concluded with a `PRICE_UP` event. If such
-a pattern can be found, the next pattern match will be seeked at the last `PRICE_UP` event as
-indicated by the `AFTER MATCH SKIP TO LAST` clause.
+`PATTERN` 子句指定我们对以下模式感兴趣:该模式具有开始事件 `START_ROW`,然后是一个或多个 `PRICE_DOWN` 事件,并以 `PRICE_UP` 事件结束。如果可以找到这样的模式,如 `AFTER MATCH SKIP TO LAST` 子句所示,则从最后一个 `PRICE_UP` 事件开始寻找下一个模式匹配。
 
-The `DEFINE` clause specifies the conditions that need to be met for a `PRICE_DOWN` and `PRICE_UP`
-event. Although the `START_ROW` pattern variable is not present it has an implicit condition that
-is evaluated always as `TRUE`.
+`DEFINE` 子句指定 `PRICE_DOWN` 和 `PRICE_UP` 事件需要满足的条件。尽管不存在 `START_ROW` 模式变量,但它具有一个始终被评估为 `TRUE` 隐式条件。
 
-A pattern variable `PRICE_DOWN` is defined as a row with a price that is smaller than the price of
-the last row that met the `PRICE_DOWN` condition. For the initial case or when there is no last row
-that met the `PRICE_DOWN` condition, the price of the row should be smaller than the price of the
-preceding row in the pattern (referenced by `START_ROW`).
+模式变量 `PRICE_DOWN` 定义为价格小于满足 `PRICE_DOWN` 条件的最后一行。对于初始情况或没有满足 `PRICE_DOWN` 条件的最后一行时,该行的价格应小于该模式中前一行(由 `START_ROW` 引用)的价格。
 
-A pattern variable `PRICE_UP` is defined as a row with a price that is larger than the price of the
-last row that met the `PRICE_DOWN` condition.
+模式变量 `PRICE_UP` 定义为价格大于满足 `PRICE_DOWN` 条件的最后一行。
 
-This query produces a summary row for each period in which the price of a stock was continuously
-decreasing.
+此查询为股票价格持续下跌的每个期间生成摘要行。
 
-The exact representation of the output rows is defined in the `MEASURES` part of the query. The
-number of output rows is defined by the `ONE ROW PER MATCH` output mode.
+在查询的 `MEASURES` 子句部分定义确切的输出行信息。输出行数由 `ONE ROW PER MATCH` 输出方式定义。
 
 {% highlight text %}
  symbol       start_tstamp       bottom_tstamp         end_tstamp
 =========  ==================  ==================  ==================
 ACME       01-APR-11 10:00:04  01-APR-11 10:00:07  01-APR-11 10:00:08
 {% endhighlight %}
 
-The resulting row describes a period of falling prices that started at `01-APR-11 10:00:04` and
-achieved the lowest price at `01-APR-11 10:00:07` that increased again at `01-APR-11 10:00:08`.
+该行结果描述了从 `01-APR-11 10:00:04` 开始的价格下跌期,在 `01-APR-11 10:00:07` 达到最低价格,到 `01-APR-11 10:00:08` 再次上涨。
 
-Partitioning
+<a name="partitioning"></a>
+
+分区
 ------------
 
-It is possible to look for patterns in partitioned data, e.g., trends for a single ticker or a
-particular user. This can be expressed using the `PARTITION BY` clause. The clause is similar to
-using `GROUP BY` for aggregations.
+可以在分区数据中寻找模式,例如单个股票行情或特定用户的趋势。这可以用 `PARTITION BY` 子句来表示。该子句类似于对聚合使用 `GROUP BY`。
+
+<span class="label label-danger">注意</span> 强烈建议对传入的数据进行分区,否则 `MATCH_RECOGNIZE` 子句将被转换为非并行算子,以确保全局排序。
 
-<span class="label label-danger">Attention</span> It is highly advised to partition the incoming
-data because otherwise the `MATCH_RECOGNIZE` clause will be translated into a non-parallel operator
-to ensure global ordering.
+<a name="order-of-events"></a>
 
-Order of Events
+事件顺序
 ---------------
 
-Apache Flink allows for searching for patterns based on time; either
-[processing time or event time](time_attributes.html).
+Apache Flink 可以根据时间([处理时间或者事件时间]({% link dev/table/streaming/time_attributes.zh.md %}))进行模式搜索。
 
-In case of event time, the events are sorted before they are passed to the internal pattern state
-machine. As a consequence, the produced output will be correct regardless of the order in which
-rows are appended to the table. Instead, the pattern is evaluated in the order specified by the
-time contained in each row.
+如果是事件时间,则在将事件传递到内部模式状态机之前对其进行排序。所以,无论行添加到表的顺序如何,生成的输出都是正确的。相反,模式是按照每行中包含的时间指定的顺序计算的。
 
-The `MATCH_RECOGNIZE` clause assumes a [time attribute](time_attributes.html) with ascending
-ordering as the first argument to `ORDER BY` clause.
+`MATCH_RECOGNIZE` 子句假定升序的 [时间属性]({% link dev/table/streaming/time_attributes.zh.md %}) 是 `ORDER BY` 子句的第一个参数。
 
-For the example `Ticker` table, a definition like `ORDER BY rowtime ASC, price DESC` is valid but
-`ORDER BY price, rowtime` or `ORDER BY rowtime DESC, price ASC` is not.
+对于示例 `Ticker` 表,诸如 `ORDER BY rowtime ASC, price DESC` 的定义是有效的,但 `ORDER BY price, rowtime` 或者 `ORDER BY rowtime DESC, price ASC` 是无效的。
 
 Define & Measures
 -----------------
 
-The `DEFINE` and `MEASURES` keywords have similar meanings to the `WHERE` and `SELECT` clauses in a
-simple SQL query.
+`DEFINE` 和 `MEASURES` 关键字与简单 SQL 查询中的 `WHERE` 和 `SELECT` 子句具有相近的含义。
 
-The `MEASURES` clause defines what will be included in the output of a matching pattern. It can
-project columns and define expressions for evaluation. The number of produced rows depends on the
-[output mode](#output-mode) setting.
+`MEASURES` 子句定义匹配模式的输出中要包含哪些内容。它可以投影列并定义表达式进行计算。产生的行数取决于[输出方式](#output-mode)设置。
 
-The `DEFINE` clause specifies conditions that rows have to fulfill in order to be classified to a
-corresponding [pattern variable](#defining-a-pattern). If a condition is not defined for a pattern
-variable, a default condition will be used which evaluates to `true` for every row.
+`DEFINE` 子句指定行必须满足的条件才能被分类到相应的[模式变量](#defining-a-pattern)。如果没有为模式变量定义条件,则将使用对每一行的计算结果为 `true` 的默认条件。
 
-For a more detailed explanation about expressions that can be used in those clauses, please have a
-look at the [event stream navigation](#pattern-navigation) section.
+有关在这些子句中可使用的表达式的更详细的说明,请查看[事件流导航](#pattern-navigation)部分。
 
 ### Aggregations
 
-Aggregations can be used in `DEFINE` and `MEASURES` clauses. Both
-[built-in]({{ site.baseurl }}/dev/table/functions/systemFunctions.html) and custom
-[user defined]({{ site.baseurl }}/dev/table/functions/udfs.html) functions are supported.
+Aggregations 可以在 `DEFINE` 和 `MEASURES` 子句中使用。支持[内置函数]({% link dev/table/functions/systemFunctions.zh.md %})和[用户自定义函数]({% link dev/table/functions/udfs.zh.md %})。
 
-Aggregate functions are applied to each subset of rows mapped to a match. In order to understand
-how those subsets are evaluated have a look at the [event stream navigation](#pattern-navigation)
-section.
+对相应匹配项的行子集可以使用 Aggregate functions。请查看[事件流导航](#pattern-navigation)部分以了解如何计算这些子集。
 
-The task of the following example is to find the longest period of time for which the average price
-of a ticker did not go below certain threshold. It shows how expressible `MATCH_RECOGNIZE` can
-become with aggregations. This task can be performed with the following query:
+下面这个示例的任务是找出股票平均价格没有低于某个阈值的最长时间段。它展示了 `MATCH_RECOGNIZE` 在聚合中的可表达性。可以使用以下查询执行此任务:

Review comment:
       ```suggestion
   下面这个示例的任务是找出股票平均价格没有低于某个阈值的最长时间段。它展示了 `MATCH_RECOGNIZE` 在 aggregation 中的可表达性。可以使用以下查询执行此任务:
   ```

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -805,14 +716,14 @@ The table consists of the following columns:
       <td></td>
       <td>31</td>
       <td>20</td>
-      <td>Not mapped because <code>35 &lt; 2 * 20</code>.</td>
+      <td>因为 <code>35 &lt; 2 * 20</code> 没有映射。</td>
     </tr>
   </tbody>
 </table>
 
-It might also make sense to use the default pattern variable with logical offsets.
+将默认模式变量与逻辑偏移量一起使用也可能很有意义。

Review comment:
       ```suggestion
   将默认模式变量与 logical offsets 一起使用也可能很有意义。
   ```

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -92,52 +80,43 @@ project.
 </dependency>
 {% endhighlight %}
 
-Alternatively, you can also add the dependency to the cluster classpath (see the
-[dependency section]({{ site.baseurl}}/dev/project-configuration.html) for more information).
+或者,也可以将依赖项添加到集群 classpath(查看 [dependency section]({% link dev/project-configuration.zh.md %}) 获取更多相关依赖信息)。

Review comment:
       ```suggestion
   或者,也可以将依赖项添加到集群的 classpath(查看 [dependency section]({% link dev/project-configuration.zh.md %}) 获取更多相关依赖信息)。
   ```




----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-652303680


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "527265656bc37900ee79357233697fde8ce88b0e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4144",
       "triggerID" : "527265656bc37900ee79357233697fde8ce88b0e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4193",
       "triggerID" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "triggerType" : "PUSH"
     }, {
       "hash" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4195",
       "triggerID" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4233",
       "triggerID" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4238",
       "triggerID" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "triggerType" : "PUSH"
     }, {
       "hash" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4256",
       "triggerID" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4268",
       "triggerID" : "fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d6b49aa7c6fcb0150e66cef3927938bb67a62ecd",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4273",
       "triggerID" : "d6b49aa7c6fcb0150e66cef3927938bb67a62ecd",
       "triggerType" : "PUSH"
     }, {
       "hash" : "afb15a19e449a983b7d825664624311cce1bd42a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4321",
       "triggerID" : "afb15a19e449a983b7d825664624311cce1bd42a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f1fb24d628f66f3f2929fe4e737a835e8391c0a8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4343",
       "triggerID" : "f1fb24d628f66f3f2929fe4e737a835e8391c0a8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "3a0861645eb533d48c06e3461b0991ca13397242",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4437",
       "triggerID" : "3a0861645eb533d48c06e3461b0991ca13397242",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5916531853d7d30a755a85ce8da4d38731e7d765",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4441",
       "triggerID" : "5916531853d7d30a755a85ce8da4d38731e7d765",
       "triggerType" : "PUSH"
     }, {
       "hash" : "9e678a04b138c92d642ee96f4a6f05506644c5ac",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4456",
       "triggerID" : "9e678a04b138c92d642ee96f4a6f05506644c5ac",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fcc745b41155021174e1d85539064421318c0cf3",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4474",
       "triggerID" : "fcc745b41155021174e1d85539064421318c0cf3",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * ad5d5dcac846080e2e40255505dd35896a6c7a94 UNKNOWN
   * fcc745b41155021174e1d85539064421318c0cf3 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4474) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@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.

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



[GitHub] [flink] flinkbot edited a comment on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-652303680


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "527265656bc37900ee79357233697fde8ce88b0e",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4144",
       "triggerID" : "527265656bc37900ee79357233697fde8ce88b0e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4193",
       "triggerID" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "triggerType" : "PUSH"
     }, {
       "hash" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 527265656bc37900ee79357233697fde8ce88b0e Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4144) 
   * ad5d5dcac846080e2e40255505dd35896a6c7a94 UNKNOWN
   * 61a9901b9d33644c5bc2f85e04960b9c388a2506 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4193) 
   * 709566f740d1070ade3d82b193583c2b01dbd49f UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@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.

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



[GitHub] [flink] RocMarshal commented on a change in pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
RocMarshal commented on a change in pull request #12798:
URL: https://github.com/apache/flink/pull/12798#discussion_r450299225



##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -1091,42 +983,31 @@ DEFINE
   C as C.price > 20
 {% endhighlight %}
 
-<span class="label label-danger">Attention</span> Please note that the `MATCH_RECOGNIZE` clause
-does not use a configured [state retention time](query_configuration.html#idle-state-retention-time).
-One may want to use the `WITHIN` [clause](#time-constraint) for this purpose.
+<span class="label label-danger">注意</span> 请注意,`MATCH_RECOGNIZE` 子句未使用配置的 [state retention time]({% link dev/table/streaming/query_configuration.zh.md %}#idle-state-retention-time)。为此,可能需要使用 `WITHIN` [clause](#known-limitations)。
+
+<a name="known-limitations"></a>
 
-Known Limitations
+已知的局限
 -----------------
 
-Flink's implementation of the `MATCH_RECOGNIZE` clause is an ongoing effort, and some features of
-the SQL standard are not yet supported.
-
-Unsupported features include:
-* Pattern expressions:
-  * Pattern groups - this means that e.g. quantifiers can not be applied to a subsequence of the
-    pattern. Thus, `(A (B C)+)` is not a valid pattern.
-  * Alterations - patterns like `PATTERN((A B | C D) E)`, which means that either a subsequence
-    `A B` or `C D` has to be found before looking for the `E` row.
-  * `PERMUTE` operator - which is equivalent to all permutations of variables that it was applied
-    to e.g. `PATTERN (PERMUTE (A, B, C))` = `PATTERN (A B C | A C B | B A C | B C A | C A B | C B A)`.
-  * Anchors - `^, $`, which denote beginning/end of a partition, those do not make sense in the
-    streaming context and will not be supported.
-  * Exclusion - `PATTERN ({- A -} B)` meaning that `A` will be looked for but will not participate
-    in the output. This works only for the `ALL ROWS PER MATCH` mode.
-  * Reluctant optional quantifier - `PATTERN A??` only the greedy optional quantifier is supported.
-* `ALL ROWS PER MATCH` output mode - which produces an output row for every row that participated
-   in the creation of a found match. This also means:
-  * that the only supported semantic for the `MEASURES` clause is `FINAL`
-  * `CLASSIFIER` function, which returns the pattern variable that a row was mapped to, is not yet
-    supported.
-* `SUBSET` - which allows creating logical groups of pattern variables and using those groups in
-  the `DEFINE` and `MEASURES` clauses.
-* Physical offsets - `PREV/NEXT`, which indexes all events seen rather than only those that were
-  mapped to a pattern variable (as in [logical offsets](#logical-offsets) case).
-* Extracting time attributes - there is currently no possibility to get a time attribute for
-  subsequent time-based operations.
-* `MATCH_RECOGNIZE` is supported only for SQL. There is no equivalent in the Table API.
+Flink 对 `MATCH_RECOGNIZE` 子句的实现是一项持续的工作,目前尚不支持SQL标准的某些功能。

Review comment:
       ```suggestion
   Flink 对 `MATCH_RECOGNIZE` 子句的实现是一项持续的工作,目前尚不支持 SQL 标准的某些功能。
   ```




----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [flink] RocMarshal commented on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
RocMarshal commented on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-652483792


   Hi, @XBaith .
   Could you help me to review this [PR](https://github.com/apache/flink/pull/12798) if you have free time?
   Thank you.
   Best,
   Roc.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-652303680


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "527265656bc37900ee79357233697fde8ce88b0e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4144",
       "triggerID" : "527265656bc37900ee79357233697fde8ce88b0e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4193",
       "triggerID" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "triggerType" : "PUSH"
     }, {
       "hash" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4195",
       "triggerID" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4233",
       "triggerID" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * ad5d5dcac846080e2e40255505dd35896a6c7a94 UNKNOWN
   * f284f503448e04e77c01d35b96a1130e52198f71 Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4233) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@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.

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



[GitHub] [flink] flinkbot edited a comment on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-652303680


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "527265656bc37900ee79357233697fde8ce88b0e",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4144",
       "triggerID" : "527265656bc37900ee79357233697fde8ce88b0e",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 527265656bc37900ee79357233697fde8ce88b0e Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4144) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@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.

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



[GitHub] [flink] klion26 commented on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
klion26 commented on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-657979255


   @RocMarshal thanks for the fix, I'll have a final review and give response asap.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-652303680


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "527265656bc37900ee79357233697fde8ce88b0e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4144",
       "triggerID" : "527265656bc37900ee79357233697fde8ce88b0e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4193",
       "triggerID" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "triggerType" : "PUSH"
     }, {
       "hash" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4195",
       "triggerID" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * ad5d5dcac846080e2e40255505dd35896a6c7a94 UNKNOWN
   * 709566f740d1070ade3d82b193583c2b01dbd49f Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4195) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@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.

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



[GitHub] [flink] flinkbot edited a comment on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-652303680


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "527265656bc37900ee79357233697fde8ce88b0e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4144",
       "triggerID" : "527265656bc37900ee79357233697fde8ce88b0e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4193",
       "triggerID" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "triggerType" : "PUSH"
     }, {
       "hash" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4195",
       "triggerID" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4233",
       "triggerID" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4238",
       "triggerID" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "triggerType" : "PUSH"
     }, {
       "hash" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4256",
       "triggerID" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4268",
       "triggerID" : "fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * ad5d5dcac846080e2e40255505dd35896a6c7a94 UNKNOWN
   * fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4268) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@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.

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



[GitHub] [flink] flinkbot edited a comment on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-652303680


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "527265656bc37900ee79357233697fde8ce88b0e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4144",
       "triggerID" : "527265656bc37900ee79357233697fde8ce88b0e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4193",
       "triggerID" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "triggerType" : "PUSH"
     }, {
       "hash" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4195",
       "triggerID" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4233",
       "triggerID" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4238",
       "triggerID" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "triggerType" : "PUSH"
     }, {
       "hash" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4256",
       "triggerID" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4268",
       "triggerID" : "fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d6b49aa7c6fcb0150e66cef3927938bb67a62ecd",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4273",
       "triggerID" : "d6b49aa7c6fcb0150e66cef3927938bb67a62ecd",
       "triggerType" : "PUSH"
     }, {
       "hash" : "afb15a19e449a983b7d825664624311cce1bd42a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4321",
       "triggerID" : "afb15a19e449a983b7d825664624311cce1bd42a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f1fb24d628f66f3f2929fe4e737a835e8391c0a8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4343",
       "triggerID" : "f1fb24d628f66f3f2929fe4e737a835e8391c0a8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "3a0861645eb533d48c06e3461b0991ca13397242",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4437",
       "triggerID" : "3a0861645eb533d48c06e3461b0991ca13397242",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5916531853d7d30a755a85ce8da4d38731e7d765",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4441",
       "triggerID" : "5916531853d7d30a755a85ce8da4d38731e7d765",
       "triggerType" : "PUSH"
     }, {
       "hash" : "9e678a04b138c92d642ee96f4a6f05506644c5ac",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4456",
       "triggerID" : "9e678a04b138c92d642ee96f4a6f05506644c5ac",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fcc745b41155021174e1d85539064421318c0cf3",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4474",
       "triggerID" : "fcc745b41155021174e1d85539064421318c0cf3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b434eaab7904576207148894fa75f8f53ed29c41",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4478",
       "triggerID" : "b434eaab7904576207148894fa75f8f53ed29c41",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * ad5d5dcac846080e2e40255505dd35896a6c7a94 UNKNOWN
   * fcc745b41155021174e1d85539064421318c0cf3 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4474) 
   * b434eaab7904576207148894fa75f8f53ed29c41 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4478) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@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.

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



[GitHub] [flink] flinkbot edited a comment on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-652303680


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "527265656bc37900ee79357233697fde8ce88b0e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4144",
       "triggerID" : "527265656bc37900ee79357233697fde8ce88b0e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4193",
       "triggerID" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "triggerType" : "PUSH"
     }, {
       "hash" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4195",
       "triggerID" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4233",
       "triggerID" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4238",
       "triggerID" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * ad5d5dcac846080e2e40255505dd35896a6c7a94 UNKNOWN
   * 63895a2f0147d6a673d32b011e6fb9cbe57f7eac Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4238) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@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.

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



[GitHub] [flink] RocMarshal commented on a change in pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
RocMarshal commented on a change in pull request #12798:
URL: https://github.com/apache/flink/pull/12798#discussion_r453730905



##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -558,43 +482,42 @@ For the following input rows:
  XYZ      2     11       2018-09-17 10:00:05
 {% endhighlight %}
 
-The query will produce the following output:
+该查询将生成以下输出:
 
 {% highlight text %}
  symbol   startPrice   topPrice   lastPrice
 ======== ============ ========== ===========
  XYZ      10           13         11
 {% endhighlight %}
 
-The pattern recognition is partitioned by the `symbol` column. Even though not explicitly mentioned
-in the `MEASURES` clause, the partitioned column is added at the beginning of the result.
+该模式识别由 `symbol` 列分区。即使在 `MEASURES` 子句中未明确提及,分区列仍会添加到结果的开头。
 
-Pattern Navigation
+<a name="pattern-navigation"></a>
+
+模式导航
 ------------------
 
-The `DEFINE` and `MEASURES` clauses allow for navigating within the list of rows that (potentially)
-match a pattern.
+`DEFINE` 和 `MEASURES` 子句允许在(可能)匹配模式的行列表中进行导航。
+
+本节讨论用于声明条件或产生输出结果的导航。
+
+<a name="pattern-variable-referencing"></a>
+
+### 引用模式变量
 
-This section discusses this navigation for declaring conditions or producing output results.
+_引用模式变量_ 允许引用一组映射到 `DEFINE` 或 `MEASURES` 子句中特定模式变量的行。
 
-### Pattern Variable Referencing
+如果 `DEFINE`/`MEASURES` 子句中的表达式需要一行(例如 `a.price` 或 `a.price > 10`),它将选择属于相应集合的最后一个值。

Review comment:
       ```suggestion
   ```

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -558,43 +482,42 @@ For the following input rows:
  XYZ      2     11       2018-09-17 10:00:05
 {% endhighlight %}
 
-The query will produce the following output:
+该查询将生成以下输出:
 
 {% highlight text %}
  symbol   startPrice   topPrice   lastPrice
 ======== ============ ========== ===========
  XYZ      10           13         11
 {% endhighlight %}
 
-The pattern recognition is partitioned by the `symbol` column. Even though not explicitly mentioned
-in the `MEASURES` clause, the partitioned column is added at the beginning of the result.
+该模式识别由 `symbol` 列分区。即使在 `MEASURES` 子句中未明确提及,分区列仍会添加到结果的开头。
 
-Pattern Navigation
+<a name="pattern-navigation"></a>
+
+模式导航
 ------------------
 
-The `DEFINE` and `MEASURES` clauses allow for navigating within the list of rows that (potentially)
-match a pattern.
+`DEFINE` 和 `MEASURES` 子句允许在(可能)匹配模式的行列表中进行导航。
+
+本节讨论用于声明条件或产生输出结果的导航。
+
+<a name="pattern-variable-referencing"></a>
+
+### 引用模式变量
 
-This section discusses this navigation for declaring conditions or producing output results.
+_引用模式变量_ 允许引用一组映射到 `DEFINE` 或 `MEASURES` 子句中特定模式变量的行。
 

Review comment:
       ```suggestion
   ```

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -558,43 +482,42 @@ For the following input rows:
  XYZ      2     11       2018-09-17 10:00:05
 {% endhighlight %}
 
-The query will produce the following output:
+该查询将生成以下输出:
 
 {% highlight text %}
  symbol   startPrice   topPrice   lastPrice
 ======== ============ ========== ===========
  XYZ      10           13         11
 {% endhighlight %}
 
-The pattern recognition is partitioned by the `symbol` column. Even though not explicitly mentioned
-in the `MEASURES` clause, the partitioned column is added at the beginning of the result.
+该模式识别由 `symbol` 列分区。即使在 `MEASURES` 子句中未明确提及,分区列仍会添加到结果的开头。
 
-Pattern Navigation
+<a name="pattern-navigation"></a>
+
+模式导航
 ------------------
 
-The `DEFINE` and `MEASURES` clauses allow for navigating within the list of rows that (potentially)
-match a pattern.
+`DEFINE` 和 `MEASURES` 子句允许在(可能)匹配模式的行列表中进行导航。
+
+本节讨论用于声明条件或产生输出结果的导航。
+
+<a name="pattern-variable-referencing"></a>
+
+### 引用模式变量
 
-This section discusses this navigation for declaring conditions or producing output results.
+_引用模式变量_ 允许引用一组映射到 `DEFINE` 或 `MEASURES` 子句中特定模式变量的行。
 
-### Pattern Variable Referencing
+如果 `DEFINE`/`MEASURES` 子句中的表达式需要一行(例如 `a.price` 或 `a.price > 10`),它将选择属于相应集合的最后一个值。
 
-A _pattern variable reference_ allows a set of rows mapped to a particular pattern variable in the
-`DEFINE` or `MEASURES` clauses to be referenced.
+例如,如果我们尝试将当前行与 `A` 进行匹配,则会描述当前行,表达式 `A.price` 描述了目前为止已映射到 `A` 的一组行。如果 `DEFINE`/`MEASURES` 子句中的表达式需要单行(例如 `A.price` 或者 `A.price > 10`),它将选择属于相应集合的最后一个值。

Review comment:
       ```suggestion
   例如,如果我们尝试将当前行与 `A` 进行匹配,则表达式 `A.price` 描述了目前为止已映射到 `A` 的一组行加上当前行。如果 `DEFINE`/`MEASURES` 子句中的表达式需要一行(例如 `a.price` 或 `a.price > 10`),它将选择属于相应集合的最后一个值。
   ```




----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [flink] RocMarshal commented on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
RocMarshal commented on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-657509118


   @klion26 
   Thank you for your help. And I made some changes and fixed some formatting issues based on your suggestions.
   It seems to be getting more rigorous, as you say.
   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [flink] RocMarshal commented on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
RocMarshal commented on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-657952807


   @klion26 
   It seems to be getting more rigorous, as you say.
   Thank you for your help. 
   And I made some changes and fixed some formatting issues based on your suggestions.
   Please take a look.
   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-652303680


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "527265656bc37900ee79357233697fde8ce88b0e",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4144",
       "triggerID" : "527265656bc37900ee79357233697fde8ce88b0e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4193",
       "triggerID" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "triggerType" : "PUSH"
     }, {
       "hash" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4195",
       "triggerID" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 527265656bc37900ee79357233697fde8ce88b0e Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4144) 
   * ad5d5dcac846080e2e40255505dd35896a6c7a94 UNKNOWN
   * 61a9901b9d33644c5bc2f85e04960b9c388a2506 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4193) 
   * 709566f740d1070ade3d82b193583c2b01dbd49f Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4195) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@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.

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



[GitHub] [flink] RocMarshal commented on a change in pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
RocMarshal commented on a change in pull request #12798:
URL: https://github.com/apache/flink/pull/12798#discussion_r450192480



##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -323,52 +257,43 @@ ACME       01-APR-11 10:00:00  01-APR-11 10:00:03     14.5
 ACME       01-APR-11 10:00:05  01-APR-11 10:00:10     13.5
 {% endhighlight %}
 
-<span class="label label-info">Note</span> Aggregations can be applied to expressions, but only if
-they reference a single pattern variable. Thus `SUM(A.price * A.tax)` is a valid one, but
-`AVG(A.price * B.tax)` is not.
+<span class="label label-info">注意</span> 聚合可以应用于表达式,但前提是它们引用单个模式变量。因此,`SUM(A.price * A.tax)` 是有效的,而 `AVG(A.price * B.tax)` 则是无效的。
 
-<span class="label label-danger">Attention</span> `DISTINCT` aggregations are not supported.
+<span class="label label-danger">注意</span> 不支持 `DISTINCT` 聚合。
 
-Defining a Pattern
+定义模式
 ------------------
 
-The `MATCH_RECOGNIZE` clause allows users to search for patterns in event streams using a powerful
-and expressive syntax that is somewhat similar to the widespread regular expression syntax.
+`MATCH_RECOGNIZE` 子句允许用户在事件流中使用功能强大、表达力强的语法搜索模式,这种语法与广泛使用的正则表达式语法有些相似。
 
-Every pattern is constructed from basic building blocks, called _pattern variables_, to which
-operators (quantifiers and other modifiers) can be applied. The whole pattern must be enclosed in
-brackets.
+每个模式都是由基本的构建块构造的,称为 _pattern variables_,可以应用算子(量词和其他修饰符)到这些模块中。整个模式必须用括号括起来。
 
-An example pattern could look like:
+示例模式如下所示:
 
 {% highlight sql %}
 PATTERN (A B+ C* D)
 {% endhighlight %}
 
-One may use the following operators:
+可以使用以下算子:
+
+* _Concatenation_ - 像 `(A B)` 这样的模式意味着 `A` 和 `B` 之间的连接是严格的。因此,在它们之间不能存在没有映射到 `A` 或 `B` 的行。
+* _Quantifiers_ - 修改可以映射到模式变量的行数。
+  * `*` — _0_ 或者多行
+  * `+` — _1_ 或者多行
+  * `?` — _0_ 或者 _1_ 行
+  * `{ n }` — 严格 _n_ 行(_n > 0_)
+  * `{ n, }` — _n_ 或者更多行(_n ≥ 0_)
+  * `{ n, m }` — 在 _n_ 到 _m_(包含)行之间(_0 ≤ n ≤ m,0 < m_)
+  * `{ , m }` — 在 _0_ 到 _m_(包含)行之间(_m > 0_)
 
-* _Concatenation_ - a pattern like `(A B)` means that the contiguity is strict between `A` and `B`.
-  Therefore, there can be no rows that were not mapped to `A` or `B` in between.
-* _Quantifiers_ - modify the number of rows that can be mapped to the pattern variable.
-  * `*` — _0_ or more rows
-  * `+` — _1_ or more rows
-  * `?` — _0_ or _1_ rows
-  * `{ n }` — exactly _n_ rows (_n > 0_)
-  * `{ n, }` — _n_ or more rows (_n ≥ 0_)
-  * `{ n, m }` — between _n_ and _m_ (inclusive) rows (_0 ≤ n ≤ m, 0 < m_)
-  * `{ , m }` — between _0_ and _m_ (inclusive) rows (_m > 0_)
 
-<span class="label label-danger">Attention</span> Patterns that can potentially produce an empty
-match are not supported. Examples of such patterns are `PATTERN (A*)`, `PATTERN  (A? B*)`,
-`PATTERN (A{0,} B{0,} C*)`, etc.
+<span class="label label-danger">注意</span> 不支持可能产生空匹配的模式。此类模式的示例如 `PATTERN (A*)`,`PATTERN  (A? B*)`,`PATTERN (A{0,} B{0,} C*)` 等。
 
-### Greedy & Reluctant Quantifiers
+### 贪婪和勉强量词

Review comment:
       Could you tell me about your suggestion? @klion26 @XBaith 




----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-652303680


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "527265656bc37900ee79357233697fde8ce88b0e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4144",
       "triggerID" : "527265656bc37900ee79357233697fde8ce88b0e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4193",
       "triggerID" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "triggerType" : "PUSH"
     }, {
       "hash" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4195",
       "triggerID" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * ad5d5dcac846080e2e40255505dd35896a6c7a94 UNKNOWN
   * 709566f740d1070ade3d82b193583c2b01dbd49f Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4195) 
   * f284f503448e04e77c01d35b96a1130e52198f71 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@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.

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



[GitHub] [flink] klion26 commented on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
klion26 commented on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-655904944


   @RocMarshal thanks for the quick fix, as the change is too big, I'll give response asap.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [flink] RocMarshal commented on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
RocMarshal commented on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-653711374


   Hi, @libenchao , @klion26 ,
   
   Could you help me to review this PR if you have free time?
   This  review task  is a bit huge for @XBaith  and me to complete.
   Thank you.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-652303680


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "527265656bc37900ee79357233697fde8ce88b0e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4144",
       "triggerID" : "527265656bc37900ee79357233697fde8ce88b0e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4193",
       "triggerID" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "triggerType" : "PUSH"
     }, {
       "hash" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4195",
       "triggerID" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4233",
       "triggerID" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4238",
       "triggerID" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "triggerType" : "PUSH"
     }, {
       "hash" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4256",
       "triggerID" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * ad5d5dcac846080e2e40255505dd35896a6c7a94 UNKNOWN
   * 712b7a57cea8f3b0ddac3f778f87079844198eae Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4256) 
   * fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@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.

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



[GitHub] [flink] wuchong merged pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
wuchong merged pull request #12798:
URL: https://github.com/apache/flink/pull/12798


   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-652303680


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "527265656bc37900ee79357233697fde8ce88b0e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4144",
       "triggerID" : "527265656bc37900ee79357233697fde8ce88b0e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4193",
       "triggerID" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "triggerType" : "PUSH"
     }, {
       "hash" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4195",
       "triggerID" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4233",
       "triggerID" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4238",
       "triggerID" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "triggerType" : "PUSH"
     }, {
       "hash" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * ad5d5dcac846080e2e40255505dd35896a6c7a94 UNKNOWN
   * 63895a2f0147d6a673d32b011e6fb9cbe57f7eac Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4238) 
   * 712b7a57cea8f3b0ddac3f778f87079844198eae UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@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.

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



[GitHub] [flink] flinkbot edited a comment on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-652303680


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "527265656bc37900ee79357233697fde8ce88b0e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4144",
       "triggerID" : "527265656bc37900ee79357233697fde8ce88b0e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4193",
       "triggerID" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "triggerType" : "PUSH"
     }, {
       "hash" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4195",
       "triggerID" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4233",
       "triggerID" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4238",
       "triggerID" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "triggerType" : "PUSH"
     }, {
       "hash" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4256",
       "triggerID" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4268",
       "triggerID" : "fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d6b49aa7c6fcb0150e66cef3927938bb67a62ecd",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4273",
       "triggerID" : "d6b49aa7c6fcb0150e66cef3927938bb67a62ecd",
       "triggerType" : "PUSH"
     }, {
       "hash" : "afb15a19e449a983b7d825664624311cce1bd42a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4321",
       "triggerID" : "afb15a19e449a983b7d825664624311cce1bd42a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f1fb24d628f66f3f2929fe4e737a835e8391c0a8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4343",
       "triggerID" : "f1fb24d628f66f3f2929fe4e737a835e8391c0a8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "3a0861645eb533d48c06e3461b0991ca13397242",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4437",
       "triggerID" : "3a0861645eb533d48c06e3461b0991ca13397242",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5916531853d7d30a755a85ce8da4d38731e7d765",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4441",
       "triggerID" : "5916531853d7d30a755a85ce8da4d38731e7d765",
       "triggerType" : "PUSH"
     }, {
       "hash" : "9e678a04b138c92d642ee96f4a6f05506644c5ac",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4456",
       "triggerID" : "9e678a04b138c92d642ee96f4a6f05506644c5ac",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fcc745b41155021174e1d85539064421318c0cf3",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4474",
       "triggerID" : "fcc745b41155021174e1d85539064421318c0cf3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b434eaab7904576207148894fa75f8f53ed29c41",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "b434eaab7904576207148894fa75f8f53ed29c41",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * ad5d5dcac846080e2e40255505dd35896a6c7a94 UNKNOWN
   * fcc745b41155021174e1d85539064421318c0cf3 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4474) 
   * b434eaab7904576207148894fa75f8f53ed29c41 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@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.

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



[GitHub] [flink] flinkbot edited a comment on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-652303680


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "527265656bc37900ee79357233697fde8ce88b0e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4144",
       "triggerID" : "527265656bc37900ee79357233697fde8ce88b0e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4193",
       "triggerID" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "triggerType" : "PUSH"
     }, {
       "hash" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4195",
       "triggerID" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4233",
       "triggerID" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4238",
       "triggerID" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "triggerType" : "PUSH"
     }, {
       "hash" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4256",
       "triggerID" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4268",
       "triggerID" : "fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d6b49aa7c6fcb0150e66cef3927938bb67a62ecd",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4273",
       "triggerID" : "d6b49aa7c6fcb0150e66cef3927938bb67a62ecd",
       "triggerType" : "PUSH"
     }, {
       "hash" : "afb15a19e449a983b7d825664624311cce1bd42a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4321",
       "triggerID" : "afb15a19e449a983b7d825664624311cce1bd42a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f1fb24d628f66f3f2929fe4e737a835e8391c0a8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4343",
       "triggerID" : "f1fb24d628f66f3f2929fe4e737a835e8391c0a8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "3a0861645eb533d48c06e3461b0991ca13397242",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4437",
       "triggerID" : "3a0861645eb533d48c06e3461b0991ca13397242",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5916531853d7d30a755a85ce8da4d38731e7d765",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4441",
       "triggerID" : "5916531853d7d30a755a85ce8da4d38731e7d765",
       "triggerType" : "PUSH"
     }, {
       "hash" : "9e678a04b138c92d642ee96f4a6f05506644c5ac",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4456",
       "triggerID" : "9e678a04b138c92d642ee96f4a6f05506644c5ac",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fcc745b41155021174e1d85539064421318c0cf3",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4474",
       "triggerID" : "fcc745b41155021174e1d85539064421318c0cf3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b434eaab7904576207148894fa75f8f53ed29c41",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4478",
       "triggerID" : "b434eaab7904576207148894fa75f8f53ed29c41",
       "triggerType" : "PUSH"
     }, {
       "hash" : "98dcc88fa488050b6566f181b821ef9e86f2b8d6",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "98dcc88fa488050b6566f181b821ef9e86f2b8d6",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0d5eb5381c60a85925ad4269ada844fc49709b95",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4483",
       "triggerID" : "0d5eb5381c60a85925ad4269ada844fc49709b95",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * ad5d5dcac846080e2e40255505dd35896a6c7a94 UNKNOWN
   * 98dcc88fa488050b6566f181b821ef9e86f2b8d6 UNKNOWN
   * 0d5eb5381c60a85925ad4269ada844fc49709b95 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4483) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@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.

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



[GitHub] [flink] klion26 commented on a change in pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
klion26 commented on a change in pull request #12798:
URL: https://github.com/apache/flink/pull/12798#discussion_r451286413



##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -180,99 +158,68 @@ FROM Ticker
     ) MR;
 {% endhighlight %}
 
-The query partitions the `Ticker` table by the `symbol` column and orders it by the `rowtime`
-time attribute.
+此查询将 `Ticker` 表按照 `symbol` 列进行分区并按照 `rowtime` 属性进行排序。
 
-The `PATTERN` clause specifies that we are interested in a pattern with a starting event `START_ROW`
-that is followed by one or more `PRICE_DOWN` events and concluded with a `PRICE_UP` event. If such
-a pattern can be found, the next pattern match will be seeked at the last `PRICE_UP` event as
-indicated by the `AFTER MATCH SKIP TO LAST` clause.
+`PATTERN` 子句指定我们对以下模式感兴趣:该模式具有开始事件 `START_ROW`,然后是一个或多个 `PRICE_DOWN` 事件,并以 `PRICE_UP` 事件结束。如果可以找到这样的模式,如 `AFTER MATCH SKIP TO LAST` 子句所示,则从最后一个 `PRICE_UP` 事件开始寻找下一个模式匹配。
 
-The `DEFINE` clause specifies the conditions that need to be met for a `PRICE_DOWN` and `PRICE_UP`
-event. Although the `START_ROW` pattern variable is not present it has an implicit condition that
-is evaluated always as `TRUE`.
+`DEFINE` 子句指定 `PRICE_DOWN` 和 `PRICE_UP` 事件需要满足的条件。尽管不存在 `START_ROW` 模式变量,但它具有一个始终被评估为 `TRUE` 隐式条件。
 
-A pattern variable `PRICE_DOWN` is defined as a row with a price that is smaller than the price of
-the last row that met the `PRICE_DOWN` condition. For the initial case or when there is no last row
-that met the `PRICE_DOWN` condition, the price of the row should be smaller than the price of the
-preceding row in the pattern (referenced by `START_ROW`).
+模式变量 `PRICE_DOWN` 定义为价格小于满足 `PRICE_DOWN` 条件的最后一行价格的行。对于初始情况或没有满足 `PRICE_DOWN` 条件的最后一行时,该行的价格应小于该模式中前一行(由 `START_ROW` 引用)的价格。

Review comment:
       `的最后一行价格的行` -> `的最后一行` 可以吗?

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -24,28 +24,17 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-It is a common use case to search for a set of event patterns, especially in case of data streams.
-Flink comes with a [complex event processing (CEP) library]({{ site.baseurl }}/dev/libs/cep.html)
-which allows for pattern detection in event streams. Furthermore, Flink's SQL API provides a
-relational way of expressing queries with a large set of built-in functions and rule-based
-optimizations that can be used out of the box.
-
-In December 2016, the International Organization for Standardization (ISO) released a new version
-of the SQL standard which includes _Row Pattern Recognition in SQL_
-([ISO/IEC TR 19075-5:2016](https://standards.iso.org/ittf/PubliclyAvailableStandards/c065143_ISO_IEC_TR_19075-5_2016.zip)).
-It allows Flink to consolidate CEP and SQL API using the `MATCH_RECOGNIZE` clause for complex event
-processing in SQL.
-
-A `MATCH_RECOGNIZE` clause enables the following tasks:
-* Logically partition and order the data that is used with the `PARTITION BY` and `ORDER BY`
-  clauses.
-* Define patterns of rows to seek using the `PATTERN` clause. These patterns use a syntax similar to
-  that of regular expressions.
-* The logical components of the row pattern variables are specified in the `DEFINE` clause.
-* Define measures, which are expressions usable in other parts of the SQL query, in the `MEASURES`
-  clause.
-
-The following example illustrates the syntax for basic pattern recognition:
+搜索一组事件模式(event pattern)是一种常见的用例,尤其是在数据流的情况下。Flink 提供 [复杂事件处理(CEP)库]({% link dev/libs/cep.zh.md %}),该库允许在事件流中进行模式检测。此外,Flink 的 SQL API 提供了一种关系式的查询表达方式,其中包含大量内置函数和基于规则的优化,可以开箱即用。
+
+2016 年 12 月,国际标准化组织(ISO)发布了新版本的 SQL 标准,其中包括在 _SQL 中的行模式识别(Row Pattern Recognition in SQL)_([ISO/IEC TR 19075-5:2016](https://standards.iso.org/ittf/PubliclyAvailableStandards/c065143_ISO_IEC_TR_19075-5_2016.zip))。它允许 Flink 使用 `MATCH_RECOGNIZE` 子句融合 CEP 和 SQL API,以便在 SQL 中进行复杂事件处理。
+
+`MATCH_RECOGNIZE` 子句启用以下任务:
+* 使用 `PARTITION BY` 和 `ORDER BY` 子句对数据进行逻辑分区和排序。
+* 使用 `PATTERN` 子句定义要查找的行的模式。这些模式使用类似于正则表达式的语法。
+* 行模式变量的逻辑组件在 `DEFINE` 子句中指定。
+* measures 是指在 `MEASURES` 子句中定义的表达式,这些表达式可用在 SQL 查询中的其他部分。

Review comment:
       这句话能再优化一下吗?现在的描述读起来感觉少一点东西,这里的 "measures" 进行了介绍,但是没有说具体用来做什么
   或者前面的 `measures` 和后面的 `表达式` 进行一下统一?

##########
File path: docs/dev/table/streaming/dynamic_tables.zh.md
##########
@@ -128,6 +128,8 @@ DataStream 上的关系查询
 
 与前面一样,左边显示了输入表 `clicks`。查询每小时持续计算结果并更新结果表。clicks表包含四行带有时间戳(`cTime`)的数据,时间戳在 `12:00:00` 和 `12:59:59` 之间。查询从这个输入计算出两个结果行(每个 `user` 一个),并将它们附加到结果表中。对于 `13:00:00` 和 `13:59:59` 之间的下一个窗口,`clicks` 表包含三行,这将导致另外两行被追加到结果表。随着时间的推移,更多的行被添加到 `click` 中,结果表将被更新。
 
+<a name="update-and-append-queries"></a>

Review comment:
       这个我建议单独使用一个 hotfix 的 commit 来进行修改,当前的 PR 仅翻译 detecting patterns 这个文档

##########
File path: docs/dev/table/streaming/match_recognize.md
##########
@@ -230,14 +230,14 @@ Order of Events
 ---------------
 
 Apache Flink allows for searching for patterns based on time; either
-[processing time or event time](time_attributes.html).
+[processing time or event time]({% link dev/table/streaming/time_attributes.md %}).

Review comment:
       这些建议另外放一个 pr 中,这个 pr 只做翻译的事情

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -180,99 +158,68 @@ FROM Ticker
     ) MR;
 {% endhighlight %}
 
-The query partitions the `Ticker` table by the `symbol` column and orders it by the `rowtime`
-time attribute.
+此查询将 `Ticker` 表按照 `symbol` 列进行分区并按照 `rowtime` 属性进行排序。
 
-The `PATTERN` clause specifies that we are interested in a pattern with a starting event `START_ROW`
-that is followed by one or more `PRICE_DOWN` events and concluded with a `PRICE_UP` event. If such
-a pattern can be found, the next pattern match will be seeked at the last `PRICE_UP` event as
-indicated by the `AFTER MATCH SKIP TO LAST` clause.
+`PATTERN` 子句指定我们对以下模式感兴趣:该模式具有开始事件 `START_ROW`,然后是一个或多个 `PRICE_DOWN` 事件,并以 `PRICE_UP` 事件结束。如果可以找到这样的模式,如 `AFTER MATCH SKIP TO LAST` 子句所示,则从最后一个 `PRICE_UP` 事件开始寻找下一个模式匹配。
 
-The `DEFINE` clause specifies the conditions that need to be met for a `PRICE_DOWN` and `PRICE_UP`
-event. Although the `START_ROW` pattern variable is not present it has an implicit condition that
-is evaluated always as `TRUE`.
+`DEFINE` 子句指定 `PRICE_DOWN` 和 `PRICE_UP` 事件需要满足的条件。尽管不存在 `START_ROW` 模式变量,但它具有一个始终被评估为 `TRUE` 隐式条件。
 
-A pattern variable `PRICE_DOWN` is defined as a row with a price that is smaller than the price of
-the last row that met the `PRICE_DOWN` condition. For the initial case or when there is no last row
-that met the `PRICE_DOWN` condition, the price of the row should be smaller than the price of the
-preceding row in the pattern (referenced by `START_ROW`).
+模式变量 `PRICE_DOWN` 定义为价格小于满足 `PRICE_DOWN` 条件的最后一行价格的行。对于初始情况或没有满足 `PRICE_DOWN` 条件的最后一行时,该行的价格应小于该模式中前一行(由 `START_ROW` 引用)的价格。
 
-A pattern variable `PRICE_UP` is defined as a row with a price that is larger than the price of the
-last row that met the `PRICE_DOWN` condition.
+模变变量 `PRICE_UP` 定义为价格大于满足 `PRICE_DOWN` 条件的最后一行价格的行。
 
-This query produces a summary row for each period in which the price of a stock was continuously
-decreasing.
+此查询为股票价格持续下跌的每个期间生成摘要行。
 
-The exact representation of the output rows is defined in the `MEASURES` part of the query. The
-number of output rows is defined by the `ONE ROW PER MATCH` output mode.
+输出行的确切表示在查询的 `MEASURES` 部分中定义。输出行数由 `ONE ROW PER MATCH` 输出方式定义。
 
 {% highlight text %}
  symbol       start_tstamp       bottom_tstamp         end_tstamp
 =========  ==================  ==================  ==================
 ACME       01-APR-11 10:00:04  01-APR-11 10:00:07  01-APR-11 10:00:08
 {% endhighlight %}
 
-The resulting row describes a period of falling prices that started at `01-APR-11 10:00:04` and
-achieved the lowest price at `01-APR-11 10:00:07` that increased again at `01-APR-11 10:00:08`.
+该行结果描述了从 `01-APR-11 10:00:04` 开始的价格下跌期,在 `01-APR-11 10:00:07` 达到最低价格,到 `01-APR-11 10:00:08` 再次上涨。
 
-Partitioning
+<a name="partitioning"></a>
+
+分区
 ------------
 
-It is possible to look for patterns in partitioned data, e.g., trends for a single ticker or a
-particular user. This can be expressed using the `PARTITION BY` clause. The clause is similar to
-using `GROUP BY` for aggregations.
+可以在分区数据中寻找模式,例如单个股票行情或特定用户的趋势。这可以用 `PARTITION BY` 子句来表示。该子句类似于对聚合使用 `GROUP BY`。
+
+<span class="label label-danger">注意</span> 强烈建议对传入的数据进行分区,否则 `MATCH_RECOGNIZE` 子句将被转换为非并行算子,以确保全局排序。
 
-<span class="label label-danger">Attention</span> It is highly advised to partition the incoming
-data because otherwise the `MATCH_RECOGNIZE` clause will be translated into a non-parallel operator
-to ensure global ordering.
+<a name="order-of-events"></a>
 
-Order of Events
+事件顺序
 ---------------
 
-Apache Flink allows for searching for patterns based on time; either
-[processing time or event time](time_attributes.html).
+Apache Flink 可以根据时间([处理时间或者事件时间]({% link dev/table/streaming/time_attributes.zh.md %}))进行模式搜索。
 
-In case of event time, the events are sorted before they are passed to the internal pattern state
-machine. As a consequence, the produced output will be correct regardless of the order in which
-rows are appended to the table. Instead, the pattern is evaluated in the order specified by the
-time contained in each row.
+如果是事件时间,则在将事件传递到内部模式状态机之前对其进行排序。所以,无论行添加到表的顺序如何,生成的输出都是正确的。相反,模式是按照每行中包含的时间指定的顺序计算的。
 
-The `MATCH_RECOGNIZE` clause assumes a [time attribute](time_attributes.html) with ascending
-ordering as the first argument to `ORDER BY` clause.
+`MATCH_RECOGNIZE` 子句假定升序的 [时间属性]({% link dev/table/streaming/time_attributes.zh.md %}) 是 `ORDER BY` 子句的第一个参数。
 
-For the example `Ticker` table, a definition like `ORDER BY rowtime ASC, price DESC` is valid but
-`ORDER BY price, rowtime` or `ORDER BY rowtime DESC, price ASC` is not.
+对于示例 `Ticker` 表,诸如 `ORDER BY rowtime ASC, price DESC` 的定义是有效的,但 `ORDER BY price, rowtime` 或者 `ORDER BY rowtime DESC, price ASC` 是无效的。
 
 Define & Measures
 -----------------
 
-The `DEFINE` and `MEASURES` keywords have similar meanings to the `WHERE` and `SELECT` clauses in a
-simple SQL query.
+`DEFINE` 和 `MEASURES` 关键字与简单 SQL 查询中的 `WHERE` 和 `SELECT` 子句具有相近的含义。
 
-The `MEASURES` clause defines what will be included in the output of a matching pattern. It can
-project columns and define expressions for evaluation. The number of produced rows depends on the
-[output mode](#output-mode) setting.
+`MEASURES` 子句定义匹配模式的输出中要包含哪些内容。它可以投影列并定义表达式进行计算。产生的行数取决于 [output mode](#output-mode) 设置。

Review comment:
       这里 `output mode` 下面进行了翻译,这里建议也翻译下。其他的词语也是一样
   
   这种文本中不一定能很好的找出来。可以在本地翻译完成后,执行 `./docs/docker/run.sh` 然后 `./build_docs.sh -p` 查看最终的渲染结果

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -478,9 +406,9 @@ FROM Ticker
     )
 {% endhighlight %}
 
-The query detects a price drop of `10` that happens within an interval of 1 hour.
+该查询检测到在1小时的间隔内价格下降了`10`。

Review comment:
       ```suggestion
   该查询检测到在 1 小时的间隔内价格下降了 `10`。
   ```

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -976,16 +877,15 @@ The second result matched against the rows #5, #6.
  XYZ      17         2018-09-17 10:00:05   2018-09-17 10:00:06
 {% endhighlight %}
 
-Again, the first result matched against the rows #1, #2, #3, #4.
+同样,第一个结果与#1,#2,#3,#4行匹配。
 
-Compared to the previous strategy, the next match includes row #2 again for the next matching.
-Therefore, the second result matched against the rows #2, #3, #4, #5.
+与上一个策略相比,下一个匹配再次包含#2行匹配。因此,第二个结果与#2,#3,#4,#5行匹配。

Review comment:
       ```suggestion
   与上一个策略相比,下一个匹配再次包含 #2 行匹配。因此,第二个结果与 #2,#3,#4,#5 行匹配。
   ```

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -960,9 +861,9 @@ The query will produce different results based on which `AFTER MATCH` strategy w
  XYZ      17         2018-09-17 10:00:05   2018-09-17 10:00:06
 {% endhighlight %}
 
-The first result matched against the rows #1, #2, #3, #4.
+第一个结果与#1,#2,#3,#4行匹配。

Review comment:
       ```suggestion
   第一个结果与 #1,#2,#3,#4 行匹配。
   ```

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -180,99 +158,68 @@ FROM Ticker
     ) MR;
 {% endhighlight %}
 
-The query partitions the `Ticker` table by the `symbol` column and orders it by the `rowtime`
-time attribute.
+此查询将 `Ticker` 表按照 `symbol` 列进行分区并按照 `rowtime` 属性进行排序。
 
-The `PATTERN` clause specifies that we are interested in a pattern with a starting event `START_ROW`
-that is followed by one or more `PRICE_DOWN` events and concluded with a `PRICE_UP` event. If such
-a pattern can be found, the next pattern match will be seeked at the last `PRICE_UP` event as
-indicated by the `AFTER MATCH SKIP TO LAST` clause.
+`PATTERN` 子句指定我们对以下模式感兴趣:该模式具有开始事件 `START_ROW`,然后是一个或多个 `PRICE_DOWN` 事件,并以 `PRICE_UP` 事件结束。如果可以找到这样的模式,如 `AFTER MATCH SKIP TO LAST` 子句所示,则从最后一个 `PRICE_UP` 事件开始寻找下一个模式匹配。
 
-The `DEFINE` clause specifies the conditions that need to be met for a `PRICE_DOWN` and `PRICE_UP`
-event. Although the `START_ROW` pattern variable is not present it has an implicit condition that
-is evaluated always as `TRUE`.
+`DEFINE` 子句指定 `PRICE_DOWN` 和 `PRICE_UP` 事件需要满足的条件。尽管不存在 `START_ROW` 模式变量,但它具有一个始终被评估为 `TRUE` 隐式条件。
 
-A pattern variable `PRICE_DOWN` is defined as a row with a price that is smaller than the price of
-the last row that met the `PRICE_DOWN` condition. For the initial case or when there is no last row
-that met the `PRICE_DOWN` condition, the price of the row should be smaller than the price of the
-preceding row in the pattern (referenced by `START_ROW`).
+模式变量 `PRICE_DOWN` 定义为价格小于满足 `PRICE_DOWN` 条件的最后一行价格的行。对于初始情况或没有满足 `PRICE_DOWN` 条件的最后一行时,该行的价格应小于该模式中前一行(由 `START_ROW` 引用)的价格。
 
-A pattern variable `PRICE_UP` is defined as a row with a price that is larger than the price of the
-last row that met the `PRICE_DOWN` condition.
+模变变量 `PRICE_UP` 定义为价格大于满足 `PRICE_DOWN` 条件的最后一行价格的行。

Review comment:
       `的最后一行价格的行` -> `的最后一行` 可以吗?

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -976,16 +877,15 @@ The second result matched against the rows #5, #6.
  XYZ      17         2018-09-17 10:00:05   2018-09-17 10:00:06
 {% endhighlight %}
 
-Again, the first result matched against the rows #1, #2, #3, #4.
+同样,第一个结果与#1,#2,#3,#4行匹配。

Review comment:
       ```suggestion
   同样,第一个结果与 #1,#2,#3,#4 行匹配。
   ```

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -180,99 +158,68 @@ FROM Ticker
     ) MR;
 {% endhighlight %}
 
-The query partitions the `Ticker` table by the `symbol` column and orders it by the `rowtime`
-time attribute.
+此查询将 `Ticker` 表按照 `symbol` 列进行分区并按照 `rowtime` 属性进行排序。
 
-The `PATTERN` clause specifies that we are interested in a pattern with a starting event `START_ROW`
-that is followed by one or more `PRICE_DOWN` events and concluded with a `PRICE_UP` event. If such
-a pattern can be found, the next pattern match will be seeked at the last `PRICE_UP` event as
-indicated by the `AFTER MATCH SKIP TO LAST` clause.
+`PATTERN` 子句指定我们对以下模式感兴趣:该模式具有开始事件 `START_ROW`,然后是一个或多个 `PRICE_DOWN` 事件,并以 `PRICE_UP` 事件结束。如果可以找到这样的模式,如 `AFTER MATCH SKIP TO LAST` 子句所示,则从最后一个 `PRICE_UP` 事件开始寻找下一个模式匹配。
 
-The `DEFINE` clause specifies the conditions that need to be met for a `PRICE_DOWN` and `PRICE_UP`
-event. Although the `START_ROW` pattern variable is not present it has an implicit condition that
-is evaluated always as `TRUE`.
+`DEFINE` 子句指定 `PRICE_DOWN` 和 `PRICE_UP` 事件需要满足的条件。尽管不存在 `START_ROW` 模式变量,但它具有一个始终被评估为 `TRUE` 隐式条件。
 
-A pattern variable `PRICE_DOWN` is defined as a row with a price that is smaller than the price of
-the last row that met the `PRICE_DOWN` condition. For the initial case or when there is no last row
-that met the `PRICE_DOWN` condition, the price of the row should be smaller than the price of the
-preceding row in the pattern (referenced by `START_ROW`).
+模式变量 `PRICE_DOWN` 定义为价格小于满足 `PRICE_DOWN` 条件的最后一行价格的行。对于初始情况或没有满足 `PRICE_DOWN` 条件的最后一行时,该行的价格应小于该模式中前一行(由 `START_ROW` 引用)的价格。
 
-A pattern variable `PRICE_UP` is defined as a row with a price that is larger than the price of the
-last row that met the `PRICE_DOWN` condition.
+模变变量 `PRICE_UP` 定义为价格大于满足 `PRICE_DOWN` 条件的最后一行价格的行。
 
-This query produces a summary row for each period in which the price of a stock was continuously
-decreasing.
+此查询为股票价格持续下跌的每个期间生成摘要行。
 
-The exact representation of the output rows is defined in the `MEASURES` part of the query. The
-number of output rows is defined by the `ONE ROW PER MATCH` output mode.
+输出行的确切表示在查询的 `MEASURES` 部分中定义。输出行数由 `ONE ROW PER MATCH` 输出方式定义。
 
 {% highlight text %}
  symbol       start_tstamp       bottom_tstamp         end_tstamp
 =========  ==================  ==================  ==================
 ACME       01-APR-11 10:00:04  01-APR-11 10:00:07  01-APR-11 10:00:08
 {% endhighlight %}
 
-The resulting row describes a period of falling prices that started at `01-APR-11 10:00:04` and
-achieved the lowest price at `01-APR-11 10:00:07` that increased again at `01-APR-11 10:00:08`.
+该行结果描述了从 `01-APR-11 10:00:04` 开始的价格下跌期,在 `01-APR-11 10:00:07` 达到最低价格,到 `01-APR-11 10:00:08` 再次上涨。
 
-Partitioning
+<a name="partitioning"></a>
+
+分区
 ------------
 
-It is possible to look for patterns in partitioned data, e.g., trends for a single ticker or a
-particular user. This can be expressed using the `PARTITION BY` clause. The clause is similar to
-using `GROUP BY` for aggregations.
+可以在分区数据中寻找模式,例如单个股票行情或特定用户的趋势。这可以用 `PARTITION BY` 子句来表示。该子句类似于对聚合使用 `GROUP BY`。
+
+<span class="label label-danger">注意</span> 强烈建议对传入的数据进行分区,否则 `MATCH_RECOGNIZE` 子句将被转换为非并行算子,以确保全局排序。
 
-<span class="label label-danger">Attention</span> It is highly advised to partition the incoming
-data because otherwise the `MATCH_RECOGNIZE` clause will be translated into a non-parallel operator
-to ensure global ordering.
+<a name="order-of-events"></a>
 
-Order of Events
+事件顺序
 ---------------
 
-Apache Flink allows for searching for patterns based on time; either
-[processing time or event time](time_attributes.html).
+Apache Flink 可以根据时间([处理时间或者事件时间]({% link dev/table/streaming/time_attributes.zh.md %}))进行模式搜索。
 
-In case of event time, the events are sorted before they are passed to the internal pattern state
-machine. As a consequence, the produced output will be correct regardless of the order in which
-rows are appended to the table. Instead, the pattern is evaluated in the order specified by the
-time contained in each row.
+如果是事件时间,则在将事件传递到内部模式状态机之前对其进行排序。所以,无论行添加到表的顺序如何,生成的输出都是正确的。相反,模式是按照每行中包含的时间指定的顺序计算的。
 
-The `MATCH_RECOGNIZE` clause assumes a [time attribute](time_attributes.html) with ascending
-ordering as the first argument to `ORDER BY` clause.
+`MATCH_RECOGNIZE` 子句假定升序的 [时间属性]({% link dev/table/streaming/time_attributes.zh.md %}) 是 `ORDER BY` 子句的第一个参数。
 
-For the example `Ticker` table, a definition like `ORDER BY rowtime ASC, price DESC` is valid but
-`ORDER BY price, rowtime` or `ORDER BY rowtime DESC, price ASC` is not.
+对于示例 `Ticker` 表,诸如 `ORDER BY rowtime ASC, price DESC` 的定义是有效的,但 `ORDER BY price, rowtime` 或者 `ORDER BY rowtime DESC, price ASC` 是无效的。
 
 Define & Measures

Review comment:
       这里我们需要翻译吗?上面对于 `measure` 应该有地方是翻译了的,全文的同一个词语最好进行统一

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -180,99 +158,68 @@ FROM Ticker
     ) MR;
 {% endhighlight %}
 
-The query partitions the `Ticker` table by the `symbol` column and orders it by the `rowtime`
-time attribute.
+此查询将 `Ticker` 表按照 `symbol` 列进行分区并按照 `rowtime` 属性进行排序。
 
-The `PATTERN` clause specifies that we are interested in a pattern with a starting event `START_ROW`
-that is followed by one or more `PRICE_DOWN` events and concluded with a `PRICE_UP` event. If such
-a pattern can be found, the next pattern match will be seeked at the last `PRICE_UP` event as
-indicated by the `AFTER MATCH SKIP TO LAST` clause.
+`PATTERN` 子句指定我们对以下模式感兴趣:该模式具有开始事件 `START_ROW`,然后是一个或多个 `PRICE_DOWN` 事件,并以 `PRICE_UP` 事件结束。如果可以找到这样的模式,如 `AFTER MATCH SKIP TO LAST` 子句所示,则从最后一个 `PRICE_UP` 事件开始寻找下一个模式匹配。
 
-The `DEFINE` clause specifies the conditions that need to be met for a `PRICE_DOWN` and `PRICE_UP`
-event. Although the `START_ROW` pattern variable is not present it has an implicit condition that
-is evaluated always as `TRUE`.
+`DEFINE` 子句指定 `PRICE_DOWN` 和 `PRICE_UP` 事件需要满足的条件。尽管不存在 `START_ROW` 模式变量,但它具有一个始终被评估为 `TRUE` 隐式条件。
 
-A pattern variable `PRICE_DOWN` is defined as a row with a price that is smaller than the price of
-the last row that met the `PRICE_DOWN` condition. For the initial case or when there is no last row
-that met the `PRICE_DOWN` condition, the price of the row should be smaller than the price of the
-preceding row in the pattern (referenced by `START_ROW`).
+模式变量 `PRICE_DOWN` 定义为价格小于满足 `PRICE_DOWN` 条件的最后一行价格的行。对于初始情况或没有满足 `PRICE_DOWN` 条件的最后一行时,该行的价格应小于该模式中前一行(由 `START_ROW` 引用)的价格。
 
-A pattern variable `PRICE_UP` is defined as a row with a price that is larger than the price of the
-last row that met the `PRICE_DOWN` condition.
+模变变量 `PRICE_UP` 定义为价格大于满足 `PRICE_DOWN` 条件的最后一行价格的行。
 
-This query produces a summary row for each period in which the price of a stock was continuously
-decreasing.
+此查询为股票价格持续下跌的每个期间生成摘要行。
 
-The exact representation of the output rows is defined in the `MEASURES` part of the query. The
-number of output rows is defined by the `ONE ROW PER MATCH` output mode.
+输出行的确切表示在查询的 `MEASURES` 部分中定义。输出行数由 `ONE ROW PER MATCH` 输出方式定义。

Review comment:
       “输出行的确切表示在查询的 `MEASURES` 部分中定义”  这句话有点不通顺,能否改进一下呢?

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -435,30 +370,23 @@ DEFINE
     C AS NOT condB()
 {% endhighlight %}
 
-<span class="label label-danger">Attention</span> The optional reluctant quantifier (`A??` or
-`A{0,1}?`) is not supported right now.
+<span class="label label-danger">注意</span> 目前不支持可选的勉强量词(`A??` 或者 `A{0,1}?`)。
+
+<a name="time-constraint"></a>
 
-### Time constraint
+### 时间约束
 
-Especially for streaming use cases, it is often required that a pattern finishes within a given
-period of time. This allows for limiting the overall state size that Flink has to maintain
-internally, even in case of greedy quantifiers.
+特别是对于流的使用场景,通常需要在给定的时间内完成模式。这要求限制 Flink 必须在内部保持的总体状态大小,即使在贪婪的量词的情况下也是如此。

Review comment:
       这个地方的意思应该是,有时间限制之后,能够限制住 Flink 必须维持的 状态总体大小(已经过期的 状态不需要维护了)

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -498,36 +426,32 @@ symbol         rowtime         price    tax
 'ACME'  '01-Apr-11 13:20:00'   19      1
 {% endhighlight %}
 
-The query will produce the following results:
+查询将生成以下结果:
 
 {% highlight text %}
 symbol         dropTime         dropDiff
 ======  ====================  =============
 'ACME'  '01-Apr-11 13:00:00'      14
 {% endhighlight %}
 
-The resulting row represents a price drop from `15` (at `01-Apr-11 12:00:00`) to `1` (at
-`01-Apr-11 13:00:00`). The `dropDiff` column contains the price difference.
+结果行代表价格从`15`(在`01-Apr-11 12:00:00`)下降到`1`(在`01-Apr-11 13:00:00`)。`dropDiff` 列包含价格差异。
+
+请注意,即使价格也下降了较高的值,例如,下降了`11`(在`01-Apr-11 10:00:00`和`01-Apr-11 11:40:00`之间),这两个事件之间的时间差大于1小时。因此,它们不会产生匹配。

Review comment:
       ```suggestion
   请注意,即使价格也下降了较高的值,例如,下降了 `11`(在 `01-Apr-11 10:00:00` 和 `01-Apr-11 11:40:00` 之间),这两个事件之间的时间差大于 1 小时。因此,它们不会产生匹配。
   ```

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -180,99 +158,68 @@ FROM Ticker
     ) MR;
 {% endhighlight %}
 
-The query partitions the `Ticker` table by the `symbol` column and orders it by the `rowtime`
-time attribute.
+此查询将 `Ticker` 表按照 `symbol` 列进行分区并按照 `rowtime` 属性进行排序。
 
-The `PATTERN` clause specifies that we are interested in a pattern with a starting event `START_ROW`
-that is followed by one or more `PRICE_DOWN` events and concluded with a `PRICE_UP` event. If such
-a pattern can be found, the next pattern match will be seeked at the last `PRICE_UP` event as
-indicated by the `AFTER MATCH SKIP TO LAST` clause.
+`PATTERN` 子句指定我们对以下模式感兴趣:该模式具有开始事件 `START_ROW`,然后是一个或多个 `PRICE_DOWN` 事件,并以 `PRICE_UP` 事件结束。如果可以找到这样的模式,如 `AFTER MATCH SKIP TO LAST` 子句所示,则从最后一个 `PRICE_UP` 事件开始寻找下一个模式匹配。
 
-The `DEFINE` clause specifies the conditions that need to be met for a `PRICE_DOWN` and `PRICE_UP`
-event. Although the `START_ROW` pattern variable is not present it has an implicit condition that
-is evaluated always as `TRUE`.
+`DEFINE` 子句指定 `PRICE_DOWN` 和 `PRICE_UP` 事件需要满足的条件。尽管不存在 `START_ROW` 模式变量,但它具有一个始终被评估为 `TRUE` 隐式条件。
 
-A pattern variable `PRICE_DOWN` is defined as a row with a price that is smaller than the price of
-the last row that met the `PRICE_DOWN` condition. For the initial case or when there is no last row
-that met the `PRICE_DOWN` condition, the price of the row should be smaller than the price of the
-preceding row in the pattern (referenced by `START_ROW`).
+模式变量 `PRICE_DOWN` 定义为价格小于满足 `PRICE_DOWN` 条件的最后一行价格的行。对于初始情况或没有满足 `PRICE_DOWN` 条件的最后一行时,该行的价格应小于该模式中前一行(由 `START_ROW` 引用)的价格。
 
-A pattern variable `PRICE_UP` is defined as a row with a price that is larger than the price of the
-last row that met the `PRICE_DOWN` condition.
+模变变量 `PRICE_UP` 定义为价格大于满足 `PRICE_DOWN` 条件的最后一行价格的行。
 
-This query produces a summary row for each period in which the price of a stock was continuously
-decreasing.
+此查询为股票价格持续下跌的每个期间生成摘要行。
 
-The exact representation of the output rows is defined in the `MEASURES` part of the query. The
-number of output rows is defined by the `ONE ROW PER MATCH` output mode.
+输出行的确切表示在查询的 `MEASURES` 部分中定义。输出行数由 `ONE ROW PER MATCH` 输出方式定义。
 
 {% highlight text %}
  symbol       start_tstamp       bottom_tstamp         end_tstamp
 =========  ==================  ==================  ==================
 ACME       01-APR-11 10:00:04  01-APR-11 10:00:07  01-APR-11 10:00:08
 {% endhighlight %}
 
-The resulting row describes a period of falling prices that started at `01-APR-11 10:00:04` and
-achieved the lowest price at `01-APR-11 10:00:07` that increased again at `01-APR-11 10:00:08`.
+该行结果描述了从 `01-APR-11 10:00:04` 开始的价格下跌期,在 `01-APR-11 10:00:07` 达到最低价格,到 `01-APR-11 10:00:08` 再次上涨。
 
-Partitioning
+<a name="partitioning"></a>
+
+分区
 ------------
 
-It is possible to look for patterns in partitioned data, e.g., trends for a single ticker or a
-particular user. This can be expressed using the `PARTITION BY` clause. The clause is similar to
-using `GROUP BY` for aggregations.
+可以在分区数据中寻找模式,例如单个股票行情或特定用户的趋势。这可以用 `PARTITION BY` 子句来表示。该子句类似于对聚合使用 `GROUP BY`。
+
+<span class="label label-danger">注意</span> 强烈建议对传入的数据进行分区,否则 `MATCH_RECOGNIZE` 子句将被转换为非并行算子,以确保全局排序。
 
-<span class="label label-danger">Attention</span> It is highly advised to partition the incoming
-data because otherwise the `MATCH_RECOGNIZE` clause will be translated into a non-parallel operator
-to ensure global ordering.
+<a name="order-of-events"></a>
 
-Order of Events
+事件顺序
 ---------------
 
-Apache Flink allows for searching for patterns based on time; either
-[processing time or event time](time_attributes.html).
+Apache Flink 可以根据时间([处理时间或者事件时间]({% link dev/table/streaming/time_attributes.zh.md %}))进行模式搜索。
 
-In case of event time, the events are sorted before they are passed to the internal pattern state
-machine. As a consequence, the produced output will be correct regardless of the order in which
-rows are appended to the table. Instead, the pattern is evaluated in the order specified by the
-time contained in each row.
+如果是事件时间,则在将事件传递到内部模式状态机之前对其进行排序。所以,无论行添加到表的顺序如何,生成的输出都是正确的。相反,模式是按照每行中包含的时间指定的顺序计算的。
 
-The `MATCH_RECOGNIZE` clause assumes a [time attribute](time_attributes.html) with ascending
-ordering as the first argument to `ORDER BY` clause.
+`MATCH_RECOGNIZE` 子句假定升序的 [时间属性]({% link dev/table/streaming/time_attributes.zh.md %}) 是 `ORDER BY` 子句的第一个参数。
 
-For the example `Ticker` table, a definition like `ORDER BY rowtime ASC, price DESC` is valid but
-`ORDER BY price, rowtime` or `ORDER BY rowtime DESC, price ASC` is not.
+对于示例 `Ticker` 表,诸如 `ORDER BY rowtime ASC, price DESC` 的定义是有效的,但 `ORDER BY price, rowtime` 或者 `ORDER BY rowtime DESC, price ASC` 是无效的。
 
 Define & Measures
 -----------------
 
-The `DEFINE` and `MEASURES` keywords have similar meanings to the `WHERE` and `SELECT` clauses in a
-simple SQL query.
+`DEFINE` 和 `MEASURES` 关键字与简单 SQL 查询中的 `WHERE` 和 `SELECT` 子句具有相近的含义。
 
-The `MEASURES` clause defines what will be included in the output of a matching pattern. It can
-project columns and define expressions for evaluation. The number of produced rows depends on the
-[output mode](#output-mode) setting.
+`MEASURES` 子句定义匹配模式的输出中要包含哪些内容。它可以投影列并定义表达式进行计算。产生的行数取决于 [output mode](#output-mode) 设置。
 
-The `DEFINE` clause specifies conditions that rows have to fulfill in order to be classified to a
-corresponding [pattern variable](#defining-a-pattern). If a condition is not defined for a pattern
-variable, a default condition will be used which evaluates to `true` for every row.
+`DEFINE` 子句指定行必须满足的条件才能被分类到相应的 [pattern variable](#defining-a-pattern)。如果没有为模式变量定义条件,则将使用对每一行的计算结果为 `true` 的默认条件。
 
-For a more detailed explanation about expressions that can be used in those clauses, please have a
-look at the [event stream navigation](#pattern-navigation) section.
+有关在这些子句中可使用的表达式的更详细的说明,请查看 [event stream navigation](#pattern-navigation) 部分。
 
 ### Aggregations
 
-Aggregations can be used in `DEFINE` and `MEASURES` clauses. Both
-[built-in]({{ site.baseurl }}/dev/table/functions/systemFunctions.html) and custom
-[user defined]({{ site.baseurl }}/dev/table/functions/udfs.html) functions are supported.
+Aggregations 可以在 `DEFINE` 和 `MEASURES` 子句中使用。支持[内置函数]({% link dev/table/functions/systemFunctions.zh.md %})和[用户自定义函数]({% link dev/table/functions/udfs.zh.md %})。
 
-Aggregate functions are applied to each subset of rows mapped to a match. In order to understand
-how those subsets are evaluated have a look at the [event stream navigation](#pattern-navigation)
-section.
+Aggregate functions 应用于映射到匹配项的行的每个子集。为了了解如何评估这些子集,请查看 [event stream navigation](#pattern-navigation) 部分。

Review comment:
       `Aggregate functions 应用于映射到匹配项的行的每个子集` 这句话能否优化一下呢?意思是可以了,不过连着两个 “的” 读起来有一点拗口

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -498,36 +426,32 @@ symbol         rowtime         price    tax
 'ACME'  '01-Apr-11 13:20:00'   19      1
 {% endhighlight %}
 
-The query will produce the following results:
+查询将生成以下结果:
 
 {% highlight text %}
 symbol         dropTime         dropDiff
 ======  ====================  =============
 'ACME'  '01-Apr-11 13:00:00'      14
 {% endhighlight %}
 
-The resulting row represents a price drop from `15` (at `01-Apr-11 12:00:00`) to `1` (at
-`01-Apr-11 13:00:00`). The `dropDiff` column contains the price difference.
+结果行代表价格从`15`(在`01-Apr-11 12:00:00`)下降到`1`(在`01-Apr-11 13:00:00`)。`dropDiff` 列包含价格差异。

Review comment:
       ```suggestion
   结果行代表价格从 `15`(在`01-Apr-11 12:00:00`)下降到 `1`(在`01-Apr-11 13:00:00`)。`dropDiff` 列包含价格差异。
   ```

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -435,30 +370,23 @@ DEFINE
     C AS NOT condB()
 {% endhighlight %}
 
-<span class="label label-danger">Attention</span> The optional reluctant quantifier (`A??` or
-`A{0,1}?`) is not supported right now.
+<span class="label label-danger">注意</span> 目前不支持可选的勉强量词(`A??` 或者 `A{0,1}?`)。
+
+<a name="time-constraint"></a>
 
-### Time constraint
+### 时间约束
 
-Especially for streaming use cases, it is often required that a pattern finishes within a given
-period of time. This allows for limiting the overall state size that Flink has to maintain
-internally, even in case of greedy quantifiers.
+特别是对于流的使用场景,通常需要在给定的时间内完成模式。这要求限制 Flink 必须在内部保持的总体状态大小,即使在贪婪的量词的情况下也是如此。
 
-Therefore, Flink SQL supports the additional (non-standard SQL) `WITHIN` clause for defining a time
-constraint for a pattern. The clause can be defined after the `PATTERN` clause and takes an
-interval of millisecond resolution.
+因此,Flink SQL 支持附加的(非标准 SQL)`WITHIN` 子句来定义模式的时间约束。子句可以在 `PATTERN` 子句之后定义,并以毫秒为间隔进行解析。
 
-If the time between the first and last event of a potential match is longer than the given value,
-such a match will not be appended to the result table.
+如果潜在匹配的第一个和最后一个事件之间的时间长于给定值,则不会将这种匹配追加到结果表中。
 
-<span class="label label-info">Note</span> It is generally encouraged to use the `WITHIN` clause as
-it helps Flink with efficient memory management. Underlying state can be pruned once the threshold
-is reached.
+<span class="label label-info">注意</span> 通常鼓励使用 `WITHIN` 子句,因为它有助于 Flink 进行有效的内存管理。一旦达到阈值,即可修剪基础状态。
 
-<span class="label label-danger">Attention</span> However, the `WITHIN` clause is not part of the
-SQL standard. The recommended way of dealing with time constraints might change in the future.
+<span class="label label-danger">注意</span> 然而,`WITHIN` 子句不是 SQL 标准的一部分。处理时间约束的方法已被提议将来可能会改变。

Review comment:
       `处理时间约束的方法已被提议将来可能会改变。` 能够修改一下,现在容易断句为 `处理时间`

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -960,9 +861,9 @@ The query will produce different results based on which `AFTER MATCH` strategy w
  XYZ      17         2018-09-17 10:00:05   2018-09-17 10:00:06
 {% endhighlight %}
 
-The first result matched against the rows #1, #2, #3, #4.
+第一个结果与#1,#2,#3,#4行匹配。
 
-The second result matched against the rows #5, #6.
+第二个结果与#5,#6行匹配。

Review comment:
       ```suggestion
   第二个结果与 #5,#6 行匹配。
   ```

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -558,43 +482,42 @@ For the following input rows:
  XYZ      2     11       2018-09-17 10:00:05
 {% endhighlight %}
 
-The query will produce the following output:
+该查询将生成以下输出:
 
 {% highlight text %}
  symbol   startPrice   topPrice   lastPrice
 ======== ============ ========== ===========
  XYZ      10           13         11
 {% endhighlight %}
 
-The pattern recognition is partitioned by the `symbol` column. Even though not explicitly mentioned
-in the `MEASURES` clause, the partitioned column is added at the beginning of the result.
+该模式识别由 `symbol` 列分区。即使在 `MEASURES` 子句中未明确提及,分区列仍会添加到结果的开头。
 
-Pattern Navigation
+<a name="pattern-navigation"></a>
+
+模式导航
 ------------------
 
-The `DEFINE` and `MEASURES` clauses allow for navigating within the list of rows that (potentially)
-match a pattern.
+`DEFINE` 和 `MEASURES` 子句允许在(可能)匹配模式的行列表中进行导航。
+
+本节讨论用于声明条件或产生输出结果的导航。
+
+<a name="pattern-variable-referencing"></a>
+
+### 引用模式变量
 
-This section discusses this navigation for declaring conditions or producing output results.
+_引用模式变量_ 允许引用一组映射到 `DEFINE` 或 `MEASURES` 子句中特定模式变量的行。
 
-### Pattern Variable Referencing
+如果 `DEFINE`/`MEASURES` 子句中的表达式需要一行(例如 `a.price` 或 `a.price>10`),它将选择属于相应集合的最后一个值。

Review comment:
       ```suggestion
   如果 `DEFINE`/`MEASURES` 子句中的表达式需要一行(例如 `a.price` 或 `a.price > 10`),它将选择属于相应集合的最后一个值。
   ```




----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-652303680


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "527265656bc37900ee79357233697fde8ce88b0e",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4144",
       "triggerID" : "527265656bc37900ee79357233697fde8ce88b0e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 527265656bc37900ee79357233697fde8ce88b0e Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4144) 
   * ad5d5dcac846080e2e40255505dd35896a6c7a94 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@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.

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



[GitHub] [flink] RocMarshal commented on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
RocMarshal commented on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-659831480


   @klion26 
   @XBaith 
   @wuchong 
   Thank you so much for your patience and help, guys.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [flink] XBaith commented on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
XBaith commented on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-652889212


   > Hi, @XBaith .
   > Could you help me to review this [PR](https://github.com/apache/flink/pull/12798) if you have free time?
   > Thank you.
   > Best,
   > Roc.
   
   Thanks for you contribution!
   The translation workload is a bit heavy, let me review step by step.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-652303680


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "527265656bc37900ee79357233697fde8ce88b0e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4144",
       "triggerID" : "527265656bc37900ee79357233697fde8ce88b0e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "ad5d5dcac846080e2e40255505dd35896a6c7a94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4193",
       "triggerID" : "61a9901b9d33644c5bc2f85e04960b9c388a2506",
       "triggerType" : "PUSH"
     }, {
       "hash" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4195",
       "triggerID" : "709566f740d1070ade3d82b193583c2b01dbd49f",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4233",
       "triggerID" : "f284f503448e04e77c01d35b96a1130e52198f71",
       "triggerType" : "PUSH"
     }, {
       "hash" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4238",
       "triggerID" : "63895a2f0147d6a673d32b011e6fb9cbe57f7eac",
       "triggerType" : "PUSH"
     }, {
       "hash" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4256",
       "triggerID" : "712b7a57cea8f3b0ddac3f778f87079844198eae",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4268",
       "triggerID" : "fdb2b8fd236b83a6a57ce6be34b93ae0ee4d7292",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d6b49aa7c6fcb0150e66cef3927938bb67a62ecd",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4273",
       "triggerID" : "d6b49aa7c6fcb0150e66cef3927938bb67a62ecd",
       "triggerType" : "PUSH"
     }, {
       "hash" : "afb15a19e449a983b7d825664624311cce1bd42a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4321",
       "triggerID" : "afb15a19e449a983b7d825664624311cce1bd42a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "f1fb24d628f66f3f2929fe4e737a835e8391c0a8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4343",
       "triggerID" : "f1fb24d628f66f3f2929fe4e737a835e8391c0a8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "3a0861645eb533d48c06e3461b0991ca13397242",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4437",
       "triggerID" : "3a0861645eb533d48c06e3461b0991ca13397242",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5916531853d7d30a755a85ce8da4d38731e7d765",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4441",
       "triggerID" : "5916531853d7d30a755a85ce8da4d38731e7d765",
       "triggerType" : "PUSH"
     }, {
       "hash" : "9e678a04b138c92d642ee96f4a6f05506644c5ac",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4456",
       "triggerID" : "9e678a04b138c92d642ee96f4a6f05506644c5ac",
       "triggerType" : "PUSH"
     }, {
       "hash" : "fcc745b41155021174e1d85539064421318c0cf3",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4474",
       "triggerID" : "fcc745b41155021174e1d85539064421318c0cf3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b434eaab7904576207148894fa75f8f53ed29c41",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4478",
       "triggerID" : "b434eaab7904576207148894fa75f8f53ed29c41",
       "triggerType" : "PUSH"
     }, {
       "hash" : "98dcc88fa488050b6566f181b821ef9e86f2b8d6",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "98dcc88fa488050b6566f181b821ef9e86f2b8d6",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0d5eb5381c60a85925ad4269ada844fc49709b95",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4483",
       "triggerID" : "0d5eb5381c60a85925ad4269ada844fc49709b95",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * ad5d5dcac846080e2e40255505dd35896a6c7a94 UNKNOWN
   * fcc745b41155021174e1d85539064421318c0cf3 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4474) 
   * b434eaab7904576207148894fa75f8f53ed29c41 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4478) 
   * 98dcc88fa488050b6566f181b821ef9e86f2b8d6 UNKNOWN
   * 0d5eb5381c60a85925ad4269ada844fc49709b95 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4483) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@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.

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



[GitHub] [flink] RocMarshal commented on a change in pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
RocMarshal commented on a change in pull request #12798:
URL: https://github.com/apache/flink/pull/12798#discussion_r450192480



##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -323,52 +257,43 @@ ACME       01-APR-11 10:00:00  01-APR-11 10:00:03     14.5
 ACME       01-APR-11 10:00:05  01-APR-11 10:00:10     13.5
 {% endhighlight %}
 
-<span class="label label-info">Note</span> Aggregations can be applied to expressions, but only if
-they reference a single pattern variable. Thus `SUM(A.price * A.tax)` is a valid one, but
-`AVG(A.price * B.tax)` is not.
+<span class="label label-info">注意</span> 聚合可以应用于表达式,但前提是它们引用单个模式变量。因此,`SUM(A.price * A.tax)` 是有效的,而 `AVG(A.price * B.tax)` 则是无效的。
 
-<span class="label label-danger">Attention</span> `DISTINCT` aggregations are not supported.
+<span class="label label-danger">注意</span> 不支持 `DISTINCT` 聚合。
 
-Defining a Pattern
+定义模式
 ------------------
 
-The `MATCH_RECOGNIZE` clause allows users to search for patterns in event streams using a powerful
-and expressive syntax that is somewhat similar to the widespread regular expression syntax.
+`MATCH_RECOGNIZE` 子句允许用户在事件流中使用功能强大、表达力强的语法搜索模式,这种语法与广泛使用的正则表达式语法有些相似。
 
-Every pattern is constructed from basic building blocks, called _pattern variables_, to which
-operators (quantifiers and other modifiers) can be applied. The whole pattern must be enclosed in
-brackets.
+每个模式都是由基本的构建块构造的,称为 _pattern variables_,可以应用算子(量词和其他修饰符)到这些模块中。整个模式必须用括号括起来。
 
-An example pattern could look like:
+示例模式如下所示:
 
 {% highlight sql %}
 PATTERN (A B+ C* D)
 {% endhighlight %}
 
-One may use the following operators:
+可以使用以下算子:
+
+* _Concatenation_ - 像 `(A B)` 这样的模式意味着 `A` 和 `B` 之间的连接是严格的。因此,在它们之间不能存在没有映射到 `A` 或 `B` 的行。
+* _Quantifiers_ - 修改可以映射到模式变量的行数。
+  * `*` — _0_ 或者多行
+  * `+` — _1_ 或者多行
+  * `?` — _0_ 或者 _1_ 行
+  * `{ n }` — 严格 _n_ 行(_n > 0_)
+  * `{ n, }` — _n_ 或者更多行(_n ≥ 0_)
+  * `{ n, m }` — 在 _n_ 到 _m_(包含)行之间(_0 ≤ n ≤ m,0 < m_)
+  * `{ , m }` — 在 _0_ 到 _m_(包含)行之间(_m > 0_)
 
-* _Concatenation_ - a pattern like `(A B)` means that the contiguity is strict between `A` and `B`.
-  Therefore, there can be no rows that were not mapped to `A` or `B` in between.
-* _Quantifiers_ - modify the number of rows that can be mapped to the pattern variable.
-  * `*` — _0_ or more rows
-  * `+` — _1_ or more rows
-  * `?` — _0_ or _1_ rows
-  * `{ n }` — exactly _n_ rows (_n > 0_)
-  * `{ n, }` — _n_ or more rows (_n ≥ 0_)
-  * `{ n, m }` — between _n_ and _m_ (inclusive) rows (_0 ≤ n ≤ m, 0 < m_)
-  * `{ , m }` — between _0_ and _m_ (inclusive) rows (_m > 0_)
 
-<span class="label label-danger">Attention</span> Patterns that can potentially produce an empty
-match are not supported. Examples of such patterns are `PATTERN (A*)`, `PATTERN  (A? B*)`,
-`PATTERN (A{0,} B{0,} C*)`, etc.
+<span class="label label-danger">注意</span> 不支持可能产生空匹配的模式。此类模式的示例如 `PATTERN (A*)`,`PATTERN  (A? B*)`,`PATTERN (A{0,} B{0,} C*)` 等。
 
-### Greedy & Reluctant Quantifiers
+### 贪婪和勉强量词

Review comment:
       Could you tell me about your suggestions? @klion26 @XBaith 




----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [flink] klion26 commented on a change in pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
klion26 commented on a change in pull request #12798:
URL: https://github.com/apache/flink/pull/12798#discussion_r449984080



##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -24,28 +24,17 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-It is a common use case to search for a set of event patterns, especially in case of data streams.
-Flink comes with a [complex event processing (CEP) library]({{ site.baseurl }}/dev/libs/cep.html)
-which allows for pattern detection in event streams. Furthermore, Flink's SQL API provides a
-relational way of expressing queries with a large set of built-in functions and rule-based
-optimizations that can be used out of the box.
-
-In December 2016, the International Organization for Standardization (ISO) released a new version
-of the SQL standard which includes _Row Pattern Recognition in SQL_
-([ISO/IEC TR 19075-5:2016](https://standards.iso.org/ittf/PubliclyAvailableStandards/c065143_ISO_IEC_TR_19075-5_2016.zip)).
-It allows Flink to consolidate CEP and SQL API using the `MATCH_RECOGNIZE` clause for complex event
-processing in SQL.
-
-A `MATCH_RECOGNIZE` clause enables the following tasks:
-* Logically partition and order the data that is used with the `PARTITION BY` and `ORDER BY`
-  clauses.
-* Define patterns of rows to seek using the `PATTERN` clause. These patterns use a syntax similar to
-  that of regular expressions.
-* The logical components of the row pattern variables are specified in the `DEFINE` clause.
-* Define measures, which are expressions usable in other parts of the SQL query, in the `MEASURES`
-  clause.
-
-The following example illustrates the syntax for basic pattern recognition:
+搜索一组事件模式(event pattern)是一种常见的用例,尤其是在数据流的情况下。Flink 提供 [复杂事件处理(CEP)库]({% link dev/libs/cep.zh.md %}),该库允许在事件流中进行模式检测。此外,Flink 的 SQL API 提供了一种关系式的查询表达方式,其中包含一大组内置函数和基于规则的优化,可以开箱即用。

Review comment:
       `一大组内置` -> `大量内置` 会更好一些吗

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -24,28 +24,17 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-It is a common use case to search for a set of event patterns, especially in case of data streams.
-Flink comes with a [complex event processing (CEP) library]({{ site.baseurl }}/dev/libs/cep.html)
-which allows for pattern detection in event streams. Furthermore, Flink's SQL API provides a
-relational way of expressing queries with a large set of built-in functions and rule-based
-optimizations that can be used out of the box.
-
-In December 2016, the International Organization for Standardization (ISO) released a new version
-of the SQL standard which includes _Row Pattern Recognition in SQL_
-([ISO/IEC TR 19075-5:2016](https://standards.iso.org/ittf/PubliclyAvailableStandards/c065143_ISO_IEC_TR_19075-5_2016.zip)).
-It allows Flink to consolidate CEP and SQL API using the `MATCH_RECOGNIZE` clause for complex event
-processing in SQL.
-
-A `MATCH_RECOGNIZE` clause enables the following tasks:
-* Logically partition and order the data that is used with the `PARTITION BY` and `ORDER BY`
-  clauses.
-* Define patterns of rows to seek using the `PATTERN` clause. These patterns use a syntax similar to
-  that of regular expressions.
-* The logical components of the row pattern variables are specified in the `DEFINE` clause.
-* Define measures, which are expressions usable in other parts of the SQL query, in the `MEASURES`
-  clause.
-
-The following example illustrates the syntax for basic pattern recognition:
+搜索一组事件模式(event pattern)是一种常见的用例,尤其是在数据流的情况下。Flink 提供 [复杂事件处理(CEP)库]({% link dev/libs/cep.zh.md %}),该库允许在事件流中进行模式检测。此外,Flink 的 SQL API 提供了一种关系式的查询表达方式,其中包含一大组内置函数和基于规则的优化,可以开箱即用。
+
+2016年12月,国际标准化组织(ISO)发布了新版本的 SQL 标准,其中包括在 _SQL 中的行模式识别(Row Pattern Recognition in SQL)_([ISO/IEC TR 19075-5:2016](https://standards.iso.org/ittf/PubliclyAvailableStandards/c065143_ISO_IEC_TR_19075-5_2016.zip))。它允许 Flink 使用 `MATCH_RECOGNIZE` 子句融合 CEP 和 SQL API,以便在 SQL 中进行复杂事件处理。

Review comment:
       ```suggestion
   2016 年 12 月,国际标准化组织(ISO)发布了新版本的 SQL 标准,其中包括在 _SQL 中的行模式识别(Row Pattern Recognition in SQL)_([ISO/IEC TR 19075-5:2016](https://standards.iso.org/ittf/PubliclyAvailableStandards/c065143_ISO_IEC_TR_19075-5_2016.zip))。它允许 Flink 使用 `MATCH_RECOGNIZE` 子句融合 CEP 和 SQL API,以便在 SQL 中进行复杂事件处理。
   ```

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -65,24 +54,19 @@ FROM MyTable
     ) AS T
 {% endhighlight %}
 
-This page will explain each keyword in more detail and will illustrate more complex examples.
+本页将更详细地解释每个关键字,并演示说明更复杂的示例。
 
-<span class="label label-danger">Attention</span> Flink's implementation of the `MATCH_RECOGNIZE`
-clause is a subset of the full standard. Only those features documented in the following sections
-are supported. Since the development is still in an early phase, please also take a look at the
-[known limitations](#known-limitations).
+<span class="label label-danger">注意</span> Flink 的 `MATCH_RECOGNIZE` 子句实现是完整标准的一个子集。仅支持以下部分中记录的功能。由于开发仍处于初期阶段,请查看[已知的局限](#已知的局限)。

Review comment:
       标题的链接一般建议增加 `<a>` 标签,具体可以参考 [cwiki](https://cwiki.apache.org/confluence/display/FLINK/Flink+Translation+Specifications) 的第 4 点
   
   本文其他地方也一样

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -24,28 +24,17 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-It is a common use case to search for a set of event patterns, especially in case of data streams.
-Flink comes with a [complex event processing (CEP) library]({{ site.baseurl }}/dev/libs/cep.html)
-which allows for pattern detection in event streams. Furthermore, Flink's SQL API provides a
-relational way of expressing queries with a large set of built-in functions and rule-based
-optimizations that can be used out of the box.
-
-In December 2016, the International Organization for Standardization (ISO) released a new version
-of the SQL standard which includes _Row Pattern Recognition in SQL_
-([ISO/IEC TR 19075-5:2016](https://standards.iso.org/ittf/PubliclyAvailableStandards/c065143_ISO_IEC_TR_19075-5_2016.zip)).
-It allows Flink to consolidate CEP and SQL API using the `MATCH_RECOGNIZE` clause for complex event
-processing in SQL.
-
-A `MATCH_RECOGNIZE` clause enables the following tasks:
-* Logically partition and order the data that is used with the `PARTITION BY` and `ORDER BY`
-  clauses.
-* Define patterns of rows to seek using the `PATTERN` clause. These patterns use a syntax similar to
-  that of regular expressions.
-* The logical components of the row pattern variables are specified in the `DEFINE` clause.
-* Define measures, which are expressions usable in other parts of the SQL query, in the `MEASURES`
-  clause.
-
-The following example illustrates the syntax for basic pattern recognition:
+搜索一组事件模式(event pattern)是一种常见的用例,尤其是在数据流的情况下。Flink 提供 [复杂事件处理(CEP)库]({% link dev/libs/cep.zh.md %}),该库允许在事件流中进行模式检测。此外,Flink 的 SQL API 提供了一种关系式的查询表达方式,其中包含一大组内置函数和基于规则的优化,可以开箱即用。
+
+2016年12月,国际标准化组织(ISO)发布了新版本的 SQL 标准,其中包括在 _SQL 中的行模式识别(Row Pattern Recognition in SQL)_([ISO/IEC TR 19075-5:2016](https://standards.iso.org/ittf/PubliclyAvailableStandards/c065143_ISO_IEC_TR_19075-5_2016.zip))。它允许 Flink 使用 `MATCH_RECOGNIZE` 子句融合 CEP 和 SQL API,以便在 SQL 中进行复杂事件处理。
+
+`MATCH_RECOGNIZE` 子句启用以下任务:
+* 对与 `PARTITION BY` 和 `ORDER BY` 子句一起使用的数据进行逻辑分区和排序。

Review comment:
       ”对与 `PARTITION BY` 和 `ORDER BY` 子句“ -> "对 `PARTITION BY` 和 `ORDER BY` 子句" 会更好一些吗

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -65,24 +54,19 @@ FROM MyTable
     ) AS T
 {% endhighlight %}
 
-This page will explain each keyword in more detail and will illustrate more complex examples.
+本页将更详细地解释每个关键字,并演示说明更复杂的示例。
 
-<span class="label label-danger">Attention</span> Flink's implementation of the `MATCH_RECOGNIZE`
-clause is a subset of the full standard. Only those features documented in the following sections
-are supported. Since the development is still in an early phase, please also take a look at the
-[known limitations](#known-limitations).
+<span class="label label-danger">注意</span> Flink 的 `MATCH_RECOGNIZE` 子句实现是完整标准的一个子集。仅支持以下部分中记录的功能。由于开发仍处于初期阶段,请查看[已知的局限](#已知的局限)。
 
 * This will be replaced by the TOC
 {:toc}
 
-Introduction and Examples
+介绍和示例
 -------------------------
 
-### Installation Guide
+### 安装指南
 
-The pattern recognition feature uses the Apache Flink's CEP library internally. In order to be able
-to use the `MATCH_RECOGNIZE` clause, the library needs to be added as a dependency to your Maven
-project.
+模式识别特性在使用 Apache Flink 内部的 CEP 库。为了能够使用 `MATCH_RECOGNIZE` 子句,需要将库作为依赖项添加到 Maven 项目中。

Review comment:
       ```suggestion
   模式识别特性使用 Apache Flink 内部的 CEP 库。为了能够使用 `MATCH_RECOGNIZE` 子句,需要将库作为依赖项添加到 Maven 项目中。
   ```

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -92,52 +76,39 @@ project.
 </dependency>
 {% endhighlight %}
 
-Alternatively, you can also add the dependency to the cluster classpath (see the
-[dependency section]({{ site.baseurl}}/dev/project-configuration.html) for more information).
+或者,也可以将依赖项添加到集群类路径(查看[依赖部分]({% link dev/project-configuration.zh.md %})获取更多信息)。
 
-If you want to use the `MATCH_RECOGNIZE` clause in the
-[SQL Client]({{ site.baseurl}}/dev/table/sqlClient.html), you don't have to do anything as all the
-dependencies are included by default.
+如果你想在 [SQL Client]({% link dev/table/sqlClient.zh.md %}) 中使用 `MATCH_RECOGNIZE` 子句,你无需执行任何操作,因为默认情况下包含所有依赖项。
 
-### SQL Semantics
+### SQL 语义
 
-Every `MATCH_RECOGNIZE` query consists of the following clauses:
+每个 `MATCH_RECOGNIZE` 查询都包含以下子句:
 
-* [PARTITION BY](#partitioning) - defines the logical partitioning of the table; similar to a
-  `GROUP BY` operation.
-* [ORDER BY](#order-of-events) - specifies how the incoming rows should be ordered; this is
-  essential as patterns depend on an order.
-* [MEASURES](#define--measures) - defines output of the clause; similar to a `SELECT` clause.
-* [ONE ROW PER MATCH](#output-mode) - output mode which defines how many rows per match should be
-  produced.
-* [AFTER MATCH SKIP](#after-match-strategy) - specifies where the next match should start; this is
-  also a way to control how many distinct matches a single event can belong to.
-* [PATTERN](#defining-a-pattern) - allows constructing patterns that will be searched for using a
-  _regular expression_-like syntax.
-* [DEFINE](#define--measures) - this section defines the conditions that the pattern variables must
-  satisfy.
+* [PARTITION BY](#分区) - 定义表的逻辑分区;类似于 `GROUP BY` 操作。

Review comment:
       这里业内的跳转建议使用 `<a> `标签

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -92,52 +76,39 @@ project.
 </dependency>
 {% endhighlight %}
 
-Alternatively, you can also add the dependency to the cluster classpath (see the
-[dependency section]({{ site.baseurl}}/dev/project-configuration.html) for more information).
+或者,也可以将依赖项添加到集群类路径(查看[依赖部分]({% link dev/project-configuration.zh.md %})获取更多信息)。

Review comment:
       这个地方 classpath 不翻译的话是否可以呢?classpath 更像是一个专有名词。
   `依赖部分` 这里能否换成一个更具体的名词呢?目标页面有很多个 依赖的 section

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -311,10 +247,8 @@ symbol         rowtime         price    tax
 'ACME'  '01-Apr-11 10:00:11'   30      1
 {% endhighlight %}
 
-The query will accumulate events as part of the pattern variable `A` as long as the average price
-of them does not exceed `15`. For example, such a limit exceeding happens at `01-Apr-11 10:00:04`.
-The following period exceeds the average price of `15` again at `01-Apr-11 10:00:11`. Thus the
-results for said query will be:
+只要事件的平均价格不超过 `15`,查询就会将事件作为模式变量 `A` 的一部分进行累积。
+例如,这种限制发生在`01-Apr-11 10:00:04`。接下来的时间段在 `01-Apr-11 10:00:11` 再次超过平均价格 `15`。因此,所述查询的结果将是:

Review comment:
       ```suggestion
   例如,这种限制发生在 `01-Apr-11 10:00:04`。接下来的时间段在 `01-Apr-11 10:00:11` 再次超过平均价格 `15`。因此,所述查询的结果将是:
   ```

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -323,52 +257,43 @@ ACME       01-APR-11 10:00:00  01-APR-11 10:00:03     14.5
 ACME       01-APR-11 10:00:05  01-APR-11 10:00:10     13.5
 {% endhighlight %}
 
-<span class="label label-info">Note</span> Aggregations can be applied to expressions, but only if
-they reference a single pattern variable. Thus `SUM(A.price * A.tax)` is a valid one, but
-`AVG(A.price * B.tax)` is not.
+<span class="label label-info">注意</span> 聚合可以应用于表达式,但前提是它们引用单个模式变量。因此,`SUM(A.price * A.tax)` 是有效的,而 `AVG(A.price * B.tax)` 则是无效的。
 
-<span class="label label-danger">Attention</span> `DISTINCT` aggregations are not supported.
+<span class="label label-danger">注意</span> 不支持 `DISTINCT` 聚合。
 
-Defining a Pattern
+定义模式
 ------------------
 
-The `MATCH_RECOGNIZE` clause allows users to search for patterns in event streams using a powerful
-and expressive syntax that is somewhat similar to the widespread regular expression syntax.
+`MATCH_RECOGNIZE` 子句允许用户在事件流中使用功能强大、表达力强的语法搜索模式,这种语法与广泛使用的正则表达式语法有些相似。
 
-Every pattern is constructed from basic building blocks, called _pattern variables_, to which
-operators (quantifiers and other modifiers) can be applied. The whole pattern must be enclosed in
-brackets.
+每个模式都是由基本的构建块构造的,称为 _pattern variables_,可以应用算子(量词和其他修饰符)到这些模块中。整个模式必须用括号括起来。
 
-An example pattern could look like:
+示例模式如下所示:
 
 {% highlight sql %}
 PATTERN (A B+ C* D)
 {% endhighlight %}
 
-One may use the following operators:
+可以使用以下算子:
+
+* _Concatenation_ - 像 `(A B)` 这样的模式意味着 `A` 和 `B` 之间的连接是严格的。因此,在它们之间不能存在没有映射到 `A` 或 `B` 的行。
+* _Quantifiers_ - 修改可以映射到模式变量的行数。
+  * `*` — _0_ 或者多行
+  * `+` — _1_ 或者多行
+  * `?` — _0_ 或者 _1_ 行
+  * `{ n }` — 严格 _n_ 行(_n > 0_)
+  * `{ n, }` — _n_ 或者更多行(_n ≥ 0_)
+  * `{ n, m }` — 在 _n_ 到 _m_(包含)行之间(_0 ≤ n ≤ m,0 < m_)
+  * `{ , m }` — 在 _0_ 到 _m_(包含)行之间(_m > 0_)
 
-* _Concatenation_ - a pattern like `(A B)` means that the contiguity is strict between `A` and `B`.
-  Therefore, there can be no rows that were not mapped to `A` or `B` in between.
-* _Quantifiers_ - modify the number of rows that can be mapped to the pattern variable.
-  * `*` — _0_ or more rows
-  * `+` — _1_ or more rows
-  * `?` — _0_ or _1_ rows
-  * `{ n }` — exactly _n_ rows (_n > 0_)
-  * `{ n, }` — _n_ or more rows (_n ≥ 0_)
-  * `{ n, m }` — between _n_ and _m_ (inclusive) rows (_0 ≤ n ≤ m, 0 < m_)
-  * `{ , m }` — between _0_ and _m_ (inclusive) rows (_m > 0_)
 
-<span class="label label-danger">Attention</span> Patterns that can potentially produce an empty
-match are not supported. Examples of such patterns are `PATTERN (A*)`, `PATTERN  (A? B*)`,
-`PATTERN (A{0,} B{0,} C*)`, etc.
+<span class="label label-danger">注意</span> 不支持可能产生空匹配的模式。此类模式的示例如 `PATTERN (A*)`,`PATTERN  (A? B*)`,`PATTERN (A{0,} B{0,} C*)` 等。
 
-### Greedy & Reluctant Quantifiers
+### 贪婪和勉强量词

Review comment:
       个人感觉:这两个翻译可以再优化下

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -180,99 +150,65 @@ FROM Ticker
     ) MR;
 {% endhighlight %}
 
-The query partitions the `Ticker` table by the `symbol` column and orders it by the `rowtime`
-time attribute.
+此查询将 `Ticker` 表按照 `symbol` 列进行分区并按照 `rowtime` 属性进行排序。
 
-The `PATTERN` clause specifies that we are interested in a pattern with a starting event `START_ROW`
-that is followed by one or more `PRICE_DOWN` events and concluded with a `PRICE_UP` event. If such
-a pattern can be found, the next pattern match will be seeked at the last `PRICE_UP` event as
-indicated by the `AFTER MATCH SKIP TO LAST` clause.
+`PATTERN` 子句指定我们对以下模式感兴趣:该模式具有开始事件 `START_ROW`,然后是一个或多个 `PRICE_DOWN` 事件,并以 `PRICE_UP` 事件结束。如果可以找到这样的模式,如 `AFTER MATCH SKIP TO LAST` 子句所示,则从最后一个 `PRICE_UP` 事件开始寻找下一个模式匹配。
 
-The `DEFINE` clause specifies the conditions that need to be met for a `PRICE_DOWN` and `PRICE_UP`
-event. Although the `START_ROW` pattern variable is not present it has an implicit condition that
-is evaluated always as `TRUE`.
+`DEFINE` 子句指定 `PRICE_DOWN` 和 `PRICE_UP` 事件需要满足的条件。尽管不存在 `START_ROW` 模式变量,但它具有一个始终被评估为 `TRUE` 隐式条件。
 
-A pattern variable `PRICE_DOWN` is defined as a row with a price that is smaller than the price of
-the last row that met the `PRICE_DOWN` condition. For the initial case or when there is no last row
-that met the `PRICE_DOWN` condition, the price of the row should be smaller than the price of the
-preceding row in the pattern (referenced by `START_ROW`).
+模式变量 `PRICE_DOWN` 定义为价格小于满足 `PRICE_DOWN` 条件的最后一行价格的行。对于初始情况或没有满足 `PRICE_DOWN` 条件的最后一行时,该行的价格应小于该模式中前一行(由 `START_ROW` 引用)的价格。
 
-A pattern variable `PRICE_UP` is defined as a row with a price that is larger than the price of the
-last row that met the `PRICE_DOWN` condition.
+模变变量 `PRICE_UP` 定义为价格大于满足 `PRICE_DOWN` 条件的最后一行价格的行。
 
-This query produces a summary row for each period in which the price of a stock was continuously
-decreasing.
+此查询为股票价格持续下跌的每个期间生成摘要行。
 
-The exact representation of the output rows is defined in the `MEASURES` part of the query. The
-number of output rows is defined by the `ONE ROW PER MATCH` output mode.
+输出行的确切表示在查询的 `MEASURES` 部分中定义。输出行数由 `ONE ROW PER MATCH` 输出方式定义。
 
 {% highlight text %}
  symbol       start_tstamp       bottom_tstamp         end_tstamp
 =========  ==================  ==================  ==================
 ACME       01-APR-11 10:00:04  01-APR-11 10:00:07  01-APR-11 10:00:08
 {% endhighlight %}
 
-The resulting row describes a period of falling prices that started at `01-APR-11 10:00:04` and
-achieved the lowest price at `01-APR-11 10:00:07` that increased again at `01-APR-11 10:00:08`.
+该行结果描述了从 `01-APR-11 10:00:04` 开始的价格下跌期,在 `01-APR-11 10:00:07` 达到最低价格,到 `01-APR-11 10:00:08` 再次上涨。
 
-Partitioning
+
+分区
 ------------
 
-It is possible to look for patterns in partitioned data, e.g., trends for a single ticker or a
-particular user. This can be expressed using the `PARTITION BY` clause. The clause is similar to
-using `GROUP BY` for aggregations.
+可以在分区数据中寻找模式,例如单个股票行情或特定用户的趋势。这可以用 `PARTITION BY` 子句来表示。该子句类似于对聚合使用 `GROUP BY`。
 
-<span class="label label-danger">Attention</span> It is highly advised to partition the incoming
-data because otherwise the `MATCH_RECOGNIZE` clause will be translated into a non-parallel operator
-to ensure global ordering.
+<span class="label label-danger">注意</span> 强烈建议对传入的数据进行分区,否则 `MATCH_RECOGNIZE` 子句将被转换为非并行算子,以确保全局排序。
 
-Order of Events
+事件顺序
 ---------------
 
-Apache Flink allows for searching for patterns based on time; either
-[processing time or event time](time_attributes.html).
+Apache Flink 可以根据时间([processing time or event time]({% link dev/table/streaming/time_attributes.zh.md %}))进行模式搜索。
 
-In case of event time, the events are sorted before they are passed to the internal pattern state
-machine. As a consequence, the produced output will be correct regardless of the order in which
-rows are appended to the table. Instead, the pattern is evaluated in the order specified by the
-time contained in each row.
+如果是 event time,则在将事件传递到内部模式状态机之前对其进行排序。所以,无论行添加到表的顺序如何,生成的输出都是正确的。相反,模式是按照每行中包含的时间指定的顺序计算的。
 
-The `MATCH_RECOGNIZE` clause assumes a [time attribute](time_attributes.html) with ascending
-ordering as the first argument to `ORDER BY` clause.
+`MATCH_RECOGNIZE` 子句假定升序的 [time attribute]({% link dev/table/streaming/time_attributes.zh.md %}) 是 `ORDER BY` 子句的第一个参数。
 
-For the example `Ticker` table, a definition like `ORDER BY rowtime ASC, price DESC` is valid but
-`ORDER BY price, rowtime` or `ORDER BY rowtime DESC, price ASC` is not.
+对于示例 `Ticker` 表,诸如 `ORDER BY rowtime ASC, price DESC` 的定义是有效的,但 `ORDER BY price, rowtime` 或者 `ORDER BY rowtime DESC, price ASC` 是无效的。
 
 Define & Measures
 -----------------
 
-The `DEFINE` and `MEASURES` keywords have similar meanings to the `WHERE` and `SELECT` clauses in a
-simple SQL query.
+`DEFINE` 和 `MEASURES` 关键字与简单 SQL 查询中的 `WHERE` 和 `SELECT` 子句具有相近的含义。
 
-The `MEASURES` clause defines what will be included in the output of a matching pattern. It can
-project columns and define expressions for evaluation. The number of produced rows depends on the
-[output mode](#output-mode) setting.
+`MEASURES` 子句定义匹配模式的输出中要包含哪些内容。它可以投影列并定义表达式进行计算。产生的行数取决于 [output mode](#输出方式) 设置。
 
-The `DEFINE` clause specifies conditions that rows have to fulfill in order to be classified to a
-corresponding [pattern variable](#defining-a-pattern). If a condition is not defined for a pattern
-variable, a default condition will be used which evaluates to `true` for every row.
+`DEFINE` 子句指定行必须满足的条件才能被分类到相应的 [pattern variable](#定义模式)。如果没有为模式变量定义条件,则将使用对每一行的计算结果为 `true` 的默认条件。
 
-For a more detailed explanation about expressions that can be used in those clauses, please have a
-look at the [event stream navigation](#pattern-navigation) section.
+有关在这些子句中可使用的表达式的更详细的说明,请查看 [event stream navigation](#模式导航) 部分。
 
 ### Aggregations
 
-Aggregations can be used in `DEFINE` and `MEASURES` clauses. Both
-[built-in]({{ site.baseurl }}/dev/table/functions/systemFunctions.html) and custom
-[user defined]({{ site.baseurl }}/dev/table/functions/udfs.html) functions are supported.
+Aggregations 可以在 `DEFINE` 和 `MEASURES` 子句中使用。支持 [built-in]({% link dev/table/functions/systemFunctions.zh.md %}) 和用户 [user defined]({% link dev/table/functions/udfs.zh.md %}) 函数。

Review comment:
       这里是否翻译成 `内置函数` 和 `用户自定义函数` 会更好呢?

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -720,8 +610,7 @@ LAST(variable.field, n)
 {% endhighlight %}
     </td>
     <td>
-      <p>Returns the value of the field from the event that was mapped to the <i>n</i>-th
-      <i>last</i> element of the variable. The counting starts at the last element mapped.</p>
+      <p>返回映射到变量最后n个元素的事件中的字段值。计数从映射的最后一个元素开始。</p>

Review comment:
       ```suggestion
         <p>返回映射到变量最后 n 个元素的事件中的字段值。计数从映射的最后一个元素开始。</p>
   ``` 
   英文/数字 与 中文间需要有空格,本文其他地方也可以检查下

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -180,99 +150,65 @@ FROM Ticker
     ) MR;
 {% endhighlight %}
 
-The query partitions the `Ticker` table by the `symbol` column and orders it by the `rowtime`
-time attribute.
+此查询将 `Ticker` 表按照 `symbol` 列进行分区并按照 `rowtime` 属性进行排序。
 
-The `PATTERN` clause specifies that we are interested in a pattern with a starting event `START_ROW`
-that is followed by one or more `PRICE_DOWN` events and concluded with a `PRICE_UP` event. If such
-a pattern can be found, the next pattern match will be seeked at the last `PRICE_UP` event as
-indicated by the `AFTER MATCH SKIP TO LAST` clause.
+`PATTERN` 子句指定我们对以下模式感兴趣:该模式具有开始事件 `START_ROW`,然后是一个或多个 `PRICE_DOWN` 事件,并以 `PRICE_UP` 事件结束。如果可以找到这样的模式,如 `AFTER MATCH SKIP TO LAST` 子句所示,则从最后一个 `PRICE_UP` 事件开始寻找下一个模式匹配。
 
-The `DEFINE` clause specifies the conditions that need to be met for a `PRICE_DOWN` and `PRICE_UP`
-event. Although the `START_ROW` pattern variable is not present it has an implicit condition that
-is evaluated always as `TRUE`.
+`DEFINE` 子句指定 `PRICE_DOWN` 和 `PRICE_UP` 事件需要满足的条件。尽管不存在 `START_ROW` 模式变量,但它具有一个始终被评估为 `TRUE` 隐式条件。
 
-A pattern variable `PRICE_DOWN` is defined as a row with a price that is smaller than the price of
-the last row that met the `PRICE_DOWN` condition. For the initial case or when there is no last row
-that met the `PRICE_DOWN` condition, the price of the row should be smaller than the price of the
-preceding row in the pattern (referenced by `START_ROW`).
+模式变量 `PRICE_DOWN` 定义为价格小于满足 `PRICE_DOWN` 条件的最后一行价格的行。对于初始情况或没有满足 `PRICE_DOWN` 条件的最后一行时,该行的价格应小于该模式中前一行(由 `START_ROW` 引用)的价格。
 
-A pattern variable `PRICE_UP` is defined as a row with a price that is larger than the price of the
-last row that met the `PRICE_DOWN` condition.
+模变变量 `PRICE_UP` 定义为价格大于满足 `PRICE_DOWN` 条件的最后一行价格的行。
 
-This query produces a summary row for each period in which the price of a stock was continuously
-decreasing.
+此查询为股票价格持续下跌的每个期间生成摘要行。
 
-The exact representation of the output rows is defined in the `MEASURES` part of the query. The
-number of output rows is defined by the `ONE ROW PER MATCH` output mode.
+输出行的确切表示在查询的 `MEASURES` 部分中定义。输出行数由 `ONE ROW PER MATCH` 输出方式定义。
 
 {% highlight text %}
  symbol       start_tstamp       bottom_tstamp         end_tstamp
 =========  ==================  ==================  ==================
 ACME       01-APR-11 10:00:04  01-APR-11 10:00:07  01-APR-11 10:00:08
 {% endhighlight %}
 
-The resulting row describes a period of falling prices that started at `01-APR-11 10:00:04` and
-achieved the lowest price at `01-APR-11 10:00:07` that increased again at `01-APR-11 10:00:08`.
+该行结果描述了从 `01-APR-11 10:00:04` 开始的价格下跌期,在 `01-APR-11 10:00:07` 达到最低价格,到 `01-APR-11 10:00:08` 再次上涨。
 
-Partitioning
+
+分区
 ------------
 
-It is possible to look for patterns in partitioned data, e.g., trends for a single ticker or a
-particular user. This can be expressed using the `PARTITION BY` clause. The clause is similar to
-using `GROUP BY` for aggregations.
+可以在分区数据中寻找模式,例如单个股票行情或特定用户的趋势。这可以用 `PARTITION BY` 子句来表示。该子句类似于对聚合使用 `GROUP BY`。
 
-<span class="label label-danger">Attention</span> It is highly advised to partition the incoming
-data because otherwise the `MATCH_RECOGNIZE` clause will be translated into a non-parallel operator
-to ensure global ordering.
+<span class="label label-danger">注意</span> 强烈建议对传入的数据进行分区,否则 `MATCH_RECOGNIZE` 子句将被转换为非并行算子,以确保全局排序。
 
-Order of Events
+事件顺序
 ---------------
 
-Apache Flink allows for searching for patterns based on time; either
-[processing time or event time](time_attributes.html).
+Apache Flink 可以根据时间([processing time or event time]({% link dev/table/streaming/time_attributes.zh.md %}))进行模式搜索。

Review comment:
       `processing time or event time` 这里是否可以翻译下呢?
   文章中其他地方也一样。在目标页面中这两个名词已经翻译成中文了

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -1035,34 +899,28 @@ use [time attributes](time_attributes.html). To select those there are available
       <td>
         <code>MATCH_ROWTIME()</code><br/>
       </td>
-      <td><p>Returns the timestamp of the last row that was mapped to the given pattern.</p>
-      <p>The resulting attribute is a <a href="time_attributes.html">rowtime attribute</a>
-         that can be used in subsequent time-based operations such as
-         <a href="#joins">interval joins</a> and <a href="#aggregations">group window or over
-         window aggregations</a>.</p></td>
+      <td>
+        <p>返回映射到给定模式的最后一行的时间戳。</p>
+        <p>结果属性是 <a href="{% link dev/table/streaming/time_attributes.zh.md %}">rowtime attribute</a>,可用于后续基于时间的操作,例如 <a href="{% link dev/table/streaming/joins.zh.md %}#interval-joins">interval joins</a> 和 <a href="#aggregations">group window or over window aggregations</a>。</p>
+      </td>
     </tr>
     <tr>
       <td>
         <code>MATCH_PROCTIME()</code><br/>
       </td>
-      <td><p>Returns a <a href="time_attributes.html#processing-time">proctime attribute</a>
-          that can be used in subsequent time-based operations such as
-          <a href="#joins">interval joins</a> and <a href="#aggregations">group window or over
-          window aggregations</a>.</p></td>
+      <td>
+        <p>返回 <a href="{% link dev/table/streaming/time_attributes.zh.md %}#处理时间">proctime attribute</a>,该属性可用于随后的基于时间的操作,例如 <a href="{% link dev/table/streaming/joins.zh.md %}#interval-joins">interval joins</a> 和 <a href="#aggregations">group window or over window aggregations</a>。</p>

Review comment:
       时间属性相关的英文建议翻译一下,目标文档已经翻译成中文了

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -498,36 +409,30 @@ symbol         rowtime         price    tax
 'ACME'  '01-Apr-11 13:20:00'   19      1
 {% endhighlight %}
 
-The query will produce the following results:
+查询将生成以下结果:
 
 {% highlight text %}
 symbol         dropTime         dropDiff
 ======  ====================  =============
 'ACME'  '01-Apr-11 13:00:00'      14
 {% endhighlight %}
 
-The resulting row represents a price drop from `15` (at `01-Apr-11 12:00:00`) to `1` (at
-`01-Apr-11 13:00:00`). The `dropDiff` column contains the price difference.
+结果行代表价格从`15`(在`01-Apr-11 12:00:00`)下降到`1`(在`01-Apr-11 13:00:00`)。`dropDiff` 列包含价格差异。
 
-Notice that even though prices also drop by higher values, for example, by `11` (between
-`01-Apr-11 10:00:00` and `01-Apr-11 11:40:00`), the time difference between those two events is
-larger than 1 hour. Thus, they don't produce a match.
+请注意,即使价格也下降了较高的值,例如,下降了`11`(在`01-Apr-11 10:00:00`和`01-Apr-11 11:40:00`之间),这两个事件之间的时间差大于1小时。因此,它们不会产生匹配。
 
-Output Mode
+输出方式
 -----------
 
-The _output mode_ describes how many rows should be emitted for every found match. The SQL standard
-describes two modes:
+_output mode_ 描述每个找到的匹配项应该输出多少行。SQL 标准描述了两种方式:
 - `ALL ROWS PER MATCH`
-- `ONE ROW PER MATCH`.
+- `ONE ROW PER MATCH`。

Review comment:
       这里渲染之后是列表,“。”是否可以去掉呢?

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -558,43 +463,36 @@ For the following input rows:
  XYZ      2     11       2018-09-17 10:00:05
 {% endhighlight %}
 
-The query will produce the following output:
+该查询将生成以下输出:
 
 {% highlight text %}
  symbol   startPrice   topPrice   lastPrice
 ======== ============ ========== ===========
  XYZ      10           13         11
 {% endhighlight %}
 
-The pattern recognition is partitioned by the `symbol` column. Even though not explicitly mentioned
-in the `MEASURES` clause, the partitioned column is added at the beginning of the result.
+该模式识别由 `symbol` 列分区。即使在 `MEASURES` 子句中未明确提及,分区列仍会添加到结果的开头。
 
-Pattern Navigation
+模式导航
 ------------------
 
-The `DEFINE` and `MEASURES` clauses allow for navigating within the list of rows that (potentially)
-match a pattern.
+`DEFINE` 和 `MEASURES` 子句允许在(可能)匹配模式的行列表中进行导航。
 
-This section discusses this navigation for declaring conditions or producing output results.
+本节讨论用于声明条件或产生输出结果的导航。
 
-### Pattern Variable Referencing
+### 引用模式变量
 
-A _pattern variable reference_ allows a set of rows mapped to a particular pattern variable in the
-`DEFINE` or `MEASURES` clauses to be referenced.
+_pattern variable reference_ 允许引用一组映射到 `DEFINE` 或 `MEASURES` 子句中特定模式变量的行。

Review comment:
       上面对这个名词做了翻译,这里为什么又用原文呢?

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -419,13 +343,9 @@ produce:
  XYZ      16
 {% endhighlight %}
 
-The pattern variable `B` matches only to the row with price `12` instead of swallowing the rows
-with prices `12`, `13`, and `14`.
+模式变量 `B` 只匹配价格为`12`的行,而不是包含价格为`12`、`13`和`14`的行。

Review comment:
       ```suggestion
   模式变量 `B` 只匹配价格为 `12` 的行,而不是包含价格为 `12`、`13` 和 `14` 的行。
   ```

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -558,43 +463,36 @@ For the following input rows:
  XYZ      2     11       2018-09-17 10:00:05
 {% endhighlight %}
 
-The query will produce the following output:
+该查询将生成以下输出:
 
 {% highlight text %}
  symbol   startPrice   topPrice   lastPrice
 ======== ============ ========== ===========
  XYZ      10           13         11
 {% endhighlight %}
 
-The pattern recognition is partitioned by the `symbol` column. Even though not explicitly mentioned
-in the `MEASURES` clause, the partitioned column is added at the beginning of the result.
+该模式识别由 `symbol` 列分区。即使在 `MEASURES` 子句中未明确提及,分区列仍会添加到结果的开头。
 
-Pattern Navigation
+模式导航
 ------------------
 
-The `DEFINE` and `MEASURES` clauses allow for navigating within the list of rows that (potentially)
-match a pattern.
+`DEFINE` 和 `MEASURES` 子句允许在(可能)匹配模式的行列表中进行导航。
 
-This section discusses this navigation for declaring conditions or producing output results.
+本节讨论用于声明条件或产生输出结果的导航。
 
-### Pattern Variable Referencing
+### 引用模式变量
 
-A _pattern variable reference_ allows a set of rows mapped to a particular pattern variable in the
-`DEFINE` or `MEASURES` clauses to be referenced.
+_pattern variable reference_ 允许引用一组映射到 `DEFINE` 或 `MEASURES` 子句中特定模式变量的行。
 
-For example, the expression `A.price` describes a set of rows mapped so far to `A` plus the current
-row if we try to match the current row to `A`. If an expression in the `DEFINE`/`MEASURES` clause
-requires a single row (e.g. `A.price` or `A.price > 10`), it selects the last value belonging to
-the corresponding set.
+如果 `DEFINE`/`MEASURES` 子句中的表达式需要一行(例如`a.price`或`a.price>10`),它将选择属于相应集合的最后一个值。

Review comment:
       ```suggestion
   如果 `DEFINE`/`MEASURES` 子句中的表达式需要一行(例如 `a.price` 或 `a.price>10`),它将选择属于相应集合的最后一个值。
   ```

##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -731,17 +620,15 @@ FIRST(variable.field, n)
 {% endhighlight %}
     </td>
     <td>
-      <p>Returns the value of the field from the event that was mapped to the <i>n</i>-th element
-      of the variable. The counting starts at the first element mapped.</p>
+      <p>返回映射到变量的第<i>n</i>个元素的事件中的字段值。计数从映射的第一个元素开始。</p>

Review comment:
       ```suggestion
         <p>返回映射到变量的第 <i>n</i> 个元素的事件中的字段值。计数从映射的第一个元素开始。</p>
   ```




----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [flink] RocMarshal commented on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
RocMarshal commented on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-655508679


   @klion26 
   
   Thank you so much for your efforts in the `review` of this PR whose workload  is  havey !
   It's very significant for the translation of this page. And I made some changes in the page based on your suggestions .
   
   Thank you again for your help !


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [flink] RocMarshal commented on a change in pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
RocMarshal commented on a change in pull request #12798:
URL: https://github.com/apache/flink/pull/12798#discussion_r453730088



##########
File path: docs/dev/table/streaming/match_recognize.zh.md
##########
@@ -558,43 +482,42 @@ For the following input rows:
  XYZ      2     11       2018-09-17 10:00:05
 {% endhighlight %}
 
-The query will produce the following output:
+该查询将生成以下输出:
 
 {% highlight text %}
  symbol   startPrice   topPrice   lastPrice
 ======== ============ ========== ===========
  XYZ      10           13         11
 {% endhighlight %}
 
-The pattern recognition is partitioned by the `symbol` column. Even though not explicitly mentioned
-in the `MEASURES` clause, the partitioned column is added at the beginning of the result.
+该模式识别由 `symbol` 列分区。即使在 `MEASURES` 子句中未明确提及,分区列仍会添加到结果的开头。
 
-Pattern Navigation
+<a name="pattern-navigation"></a>
+
+模式导航
 ------------------
 
-The `DEFINE` and `MEASURES` clauses allow for navigating within the list of rows that (potentially)
-match a pattern.
+`DEFINE` 和 `MEASURES` 子句允许在(可能)匹配模式的行列表中进行导航。
+
+本节讨论用于声明条件或产生输出结果的导航。
+
+<a name="pattern-variable-referencing"></a>
+
+### 引用模式变量
 
-This section discusses this navigation for declaring conditions or producing output results.
+_引用模式变量_ 允许引用一组映射到 `DEFINE` 或 `MEASURES` 子句中特定模式变量的行。
 

Review comment:
       ```suggestion
   ```




----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #12798: [FLINK-16087][docs-zh] Translate "Detecting Patterns" page of "Streaming Concepts" into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #12798:
URL: https://github.com/apache/flink/pull/12798#issuecomment-652303680


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "527265656bc37900ee79357233697fde8ce88b0e",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4144",
       "triggerID" : "527265656bc37900ee79357233697fde8ce88b0e",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 527265656bc37900ee79357233697fde8ce88b0e Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4144) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@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.

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