You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by dw...@apache.org on 2019/01/04 11:51:58 UTC
[flink] branch master updated: [hotfix][docs] Fix incorrect example
in cep doc
This is an automated email from the ASF dual-hosted git repository.
dwysakowicz 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 1ee2a88 [hotfix][docs] Fix incorrect example in cep doc
1ee2a88 is described below
commit 1ee2a8875f959300dc0f930d0576b35f2007b542
Author: Yangze Guo <ka...@gmail.com>
AuthorDate: Fri Jan 4 19:51:51 2019 +0800
[hotfix][docs] Fix incorrect example in cep doc
---
docs/dev/libs/cep.md | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/docs/dev/libs/cep.md b/docs/dev/libs/cep.md
index 0519dbc..ab44b5c 100644
--- a/docs/dev/libs/cep.md
+++ b/docs/dev/libs/cep.md
@@ -1334,7 +1334,7 @@ For example, for a given pattern `b+ c` and a data stream `b1 b2 b3 c`, the diff
</table>
Have a look also at another example to better see the difference between NO_SKIP and SKIP_TO_FIRST:
-Pattern: `(a | c) (b | c) c+.greedy d` and sequence: `a b c1 c2 c3 d` Then the results will be:
+Pattern: `(a | b | c) (b | c) c+.greedy d` and sequence: `a b c1 c2 c3 d` Then the results will be:
<table class="table table-bordered">
@@ -1349,12 +1349,11 @@ Pattern: `(a | c) (b | c) c+.greedy d` and sequence: `a b c1 c2 c3 d` Then the r
<code>a b c1 c2 c3 d</code><br>
<code>b c1 c2 c3 d</code><br>
<code>c1 c2 c3 d</code><br>
- <code>c2 c3 d</code><br>
</td>
<td>After found matching <code>a b c1 c2 c3 d</code>, the match process will not discard any result.</td>
</tr>
<tr>
- <td><strong>SKIP_TO_FIRST</strong>[<code>b*</code>]</td>
+ <td><strong>SKIP_TO_FIRST</strong>[<code>c*</code>]</td>
<td>
<code>a b c1 c2 c3 d</code><br>
<code>c1 c2 c3 d</code><br>
@@ -1383,7 +1382,7 @@ Pattern: `a b+` and sequence: `a b1 b2 b3` Then the results will be:
<td>After found matching <code>a b1</code>, the match process will not discard any result.</td>
</tr>
<tr>
- <td><strong>SKIP_TO_NEXT</strong>[<code>b*</code>]</td>
+ <td><strong>SKIP_TO_NEXT</strong></td>
<td>
<code>a b1</code><br>
</td>