You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by fp...@apache.org on 2022/01/25 15:30:39 UTC

[flink] branch master updated: [FLINK-25763][match-recognize][docs] Updated docs to use code tag consistent with other tables

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

fpaul 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 8e079a2  [FLINK-25763][match-recognize][docs] Updated docs to use code tag consistent with other tables
8e079a2 is described below

commit 8e079a2420e26db1c495f61703ed4510449e6028
Author: mans2singh <ma...@yahoo.com>
AuthorDate: Sat Jan 22 18:30:35 2022 -0500

    [FLINK-25763][match-recognize][docs] Updated docs to use code tag consistent with other tables
---
 docs/content.zh/docs/dev/table/sql/queries/match_recognize.md | 8 ++------
 docs/content/docs/dev/table/sql/queries/match_recognize.md    | 8 ++------
 2 files changed, 4 insertions(+), 12 deletions(-)

diff --git a/docs/content.zh/docs/dev/table/sql/queries/match_recognize.md b/docs/content.zh/docs/dev/table/sql/queries/match_recognize.md
index 4181f9d..d1729aa 100644
--- a/docs/content.zh/docs/dev/table/sql/queries/match_recognize.md
+++ b/docs/content.zh/docs/dev/table/sql/queries/match_recognize.md
@@ -632,9 +632,7 @@ _Logical offsets_ 在映射到指定模式变量的事件启用导航。这可
   <tbody>
   <tr>
     <td>
-```text
-LAST(variable.field, n)
-```
+      <code>LAST(variable.field, n)</code>
     </td>
     <td>
       <p>返回映射到变量最后 n 个元素的事件中的字段值。计数从映射的最后一个元素开始。</p>
@@ -642,9 +640,7 @@ LAST(variable.field, n)
   </tr>
   <tr>
     <td>
-```text
-FIRST(variable.field, n)
-```
+      <code>FIRST(variable.field, n)</code>
     </td>
     <td>
       <p>返回映射到变量的第 <i>n</i> 个元素的事件中的字段值。计数从映射的第一个元素开始。</p>
diff --git a/docs/content/docs/dev/table/sql/queries/match_recognize.md b/docs/content/docs/dev/table/sql/queries/match_recognize.md
index 7d8fef0..f7d1103 100644
--- a/docs/content/docs/dev/table/sql/queries/match_recognize.md
+++ b/docs/content/docs/dev/table/sql/queries/match_recognize.md
@@ -723,9 +723,7 @@ variable. This can be expressed with two corresponding functions:
   <tbody>
   <tr>
     <td>
-```text
-LAST(variable.field, n)
-```
+        <code>LAST(variable.field, n)</code>
     </td>
     <td>
       <p>Returns the value of the field from the event that was mapped to the <i>n</i>-th
@@ -734,9 +732,7 @@ LAST(variable.field, n)
   </tr>
   <tr>
     <td>
-```text
-FIRST(variable.field, n)
-```
+        <code>FIRST(variable.field, n)</code>
     </td>
     <td>
       <p>Returns the value of the field from the event that was mapped to the <i>n</i>-th element