You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ma...@apache.org on 2022/08/01 13:52:26 UTC

[flink] branch master updated: [FLINK-28495][docs][docs-zh] Fix typos or mistakes of Flink CEP Document. This closes #20272

This is an automated email from the ASF dual-hosted git repository.

martijnvisser pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/master by this push:
     new c3e72be836e [FLINK-28495][docs][docs-zh] Fix typos or mistakes of Flink CEP Document. This closes #20272
c3e72be836e is described below

commit c3e72be836e1d14871109ceb0ddb2e98392f4ff1
Author: Biao Geng <80...@users.noreply.github.com>
AuthorDate: Mon Aug 1 21:52:15 2022 +0800

    [FLINK-28495][docs][docs-zh] Fix typos or mistakes of Flink CEP Document. This closes #20272
    
    * [FLINK-28495][docs][docs-zh] Fix typos or mistakes of Flink CEP Document in the official website
---
 docs/content.zh/docs/libs/cep.md | 4 ++--
 docs/content/docs/libs/cep.md    | 5 ++---
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/docs/content.zh/docs/libs/cep.md b/docs/content.zh/docs/libs/cep.md
index 73e50b9746f..6a81715a3d5 100644
--- a/docs/content.zh/docs/libs/cep.md
+++ b/docs/content.zh/docs/libs/cep.md
@@ -32,7 +32,7 @@ FlinkCEP是在Flink上层实现的复杂事件处理库。
 
 本页讲述了Flink CEP中可用的API,我们首先讲述[模式API](#模式api),它可以让你指定想在数据流中检测的模式,然后讲述如何[检测匹配的事件序列并进行处理](#检测模式)。
 再然后我们讲述Flink在按照事件时间[处理迟到事件](#按照事件时间处理迟到事件)时的假设,
-以及如何从旧版本的Flink向1.3之后的版本[迁移作业](#从旧版本迁移13之前)。
+以及如何从旧版本的Flink向1.13之后的版本[迁移作业](#从旧版本迁移13之前)。
 
 
 
@@ -1361,7 +1361,7 @@ Pattern.begin("patternName", skipStrategy)
 {{< /tabs >}}
 
 {{< hint info >}}
-使用SKIP_TO_FIRST/LAST时,有两个选项可以用来处理没有事件可以映射到对应的变量名上的情况。
+使用SKIP_TO_FIRST/LAST时,有两个选项可以用来处理没有事件可以映射到对应模式名上的情况。
 默认情况下会使用NO_SKIP策略,另外一个选项是抛出异常。
 可以使用如下的选项:
 {{< /hint >}}
diff --git a/docs/content/docs/libs/cep.md b/docs/content/docs/libs/cep.md
index c6bb7abf23a..d185bad6ea1 100644
--- a/docs/content/docs/libs/cep.md
+++ b/docs/content/docs/libs/cep.md
@@ -35,7 +35,7 @@ This page describes the API calls available in Flink CEP. We start by presenting
 which allows you to specify the patterns that you want to detect in your stream, before presenting how you can
 [detect and act upon matching event sequences](#detecting-patterns). We then present the assumptions the CEP
 library makes when [dealing with lateness](#handling-lateness-in-event-time) in event time and how you can
-[migrate your job](#migrating-from-an-older-flink-versionpre-13) from an older Flink version to Flink-1.3.
+[migrate your job](#migrating-from-an-older-flink-versionpre-13) from an older Flink version to Flink-1.13.
 
 ## Getting Started
 
@@ -1290,8 +1290,7 @@ Pattern.begin("patternName", skipStrategy)
 {{< /tabs >}}
 
 {{< hint info >}}
-For `SKIP_TO_FIRST`/`LAST` there are two options how to handle cases when there are no elements mapped to
-the specified variable. By default a NO_SKIP strategy will be used in this case. The other option is to throw exception in such situation.
+For `SKIP_TO_FIRST`/`LAST` there are two options how to handle cases when there are no events mapped to the PatternName. By default a NO_SKIP strategy will be used in this case. The other option is to throw exception in such situation.
 One can enable this option by:
 {{< /hint >}}