[
https://issues.apache.org/jira/browse/FLINK-10604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16664787#comment-16664787
]
ASF GitHub Bot commented on FLINK-10604:
----------------------------------------
Guibo-Pan commented on a change in pull request #6914: [FLINK-10604] Add
REMAINDER math function supported in Table API and SQL
URL: https://github.com/apache/flink/pull/6914#discussion_r228426063
##########
File path: docs/dev/table/functions.md
##########
@@ -1094,6 +1094,17 @@ MOD(numeric1, numeric2)
<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 %}
+REMAINDER(numeric1, numeric2)
+{% endhighlight %}
+ </td>
+ <td>
+ <p>Returns the remainder of <i>numeric1</i> divided by
<i>numeric2</i>. The remainder value is equal to f1 - f2 × n where <i>n</i> is
the integer closest to the exact value of the quotient f1/f2, and if two
integers are equally close to f1/f2, then <i>n</i> is the integer that is
even.</p>
Review comment:
Better to add examples to make it more concise.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Add REMAINDER math function supported in Table API and SQL
> ----------------------------------------------------------
>
> Key: FLINK-10604
> URL: https://issues.apache.org/jira/browse/FLINK-10604
> Project: Flink
> Issue Type: Sub-task
> Components: Table API & SQL
> Reporter: Max Efremov
> Assignee: Max Efremov
> Priority: Minor
> Labels: pull-request-available
>
> https://docs.oracle.com/cd/B19306_01/server.102/b14200/functions133.htm
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)