You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by lz...@apache.org on 2020/07/07 08:09:48 UTC

[flink] branch master updated: [FLINK-18486][docs] add document for '%' module function

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

lzljs3620320 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 5338c6d  [FLINK-18486][docs] add document for '%' module function
5338c6d is described below

commit 5338c6d56054f1d52f036d71051643d50d916f28
Author: Shengkai <33...@users.noreply.github.com>
AuthorDate: Tue Jul 7 16:08:46 2020 +0800

    [FLINK-18486][docs] add document for '%' module function
    
    This closes #12831
---
 docs/dev/table/functions/systemFunctions.md    | 11 +++++++++++
 docs/dev/table/functions/systemFunctions.zh.md | 11 +++++++++++
 2 files changed, 22 insertions(+)

diff --git a/docs/dev/table/functions/systemFunctions.md b/docs/dev/table/functions/systemFunctions.md
index b78f5e0..47f8aa5 100644
--- a/docs/dev/table/functions/systemFunctions.md
+++ b/docs/dev/table/functions/systemFunctions.md
@@ -1065,6 +1065,17 @@ numeric1 / numeric2
     <tr>
       <td>
 {% highlight text %}
+numeric1 % numeric2
+{% endhighlight %}
+      </td>
+      <td>
+        <p>Returns the remainder (modulus) of <i>numeric1</i> divided by <i>numeric2</i>. The result is negative only if <i>numeric1</i> is negative.</p>
+      </td>
+    </tr>
+
+    <tr>
+      <td>
+{% highlight text %}
 POWER(numeric1, numeric2)
 {% endhighlight %}
       </td>
diff --git a/docs/dev/table/functions/systemFunctions.zh.md b/docs/dev/table/functions/systemFunctions.zh.md
index 6f9abd7..ff34e3d 100644
--- a/docs/dev/table/functions/systemFunctions.zh.md
+++ b/docs/dev/table/functions/systemFunctions.zh.md
@@ -1065,6 +1065,17 @@ numeric1 / numeric2
     <tr>
       <td>
 {% highlight text %}
+numeric1 % numeric2
+{% endhighlight %}
+      </td>
+      <td>
+        <p>Returns the remainder (modulus) of <i>numeric1</i> divided by <i>numeric2</i>. The result is negative only if <i>numeric1</i> is negative.</p>
+      </td>
+    </tr>
+
+    <tr>
+      <td>
+{% highlight text %}
 POWER(numeric1, numeric2)
 {% endhighlight %}
       </td>