[ 
https://issues.apache.org/jira/browse/FLINK-10136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16591597#comment-16591597
 ] 

ASF GitHub Bot commented on FLINK-10136:
----------------------------------------

xccui commented on a change in pull request #6597: [FLINK-10136] [table] Add 
REPEAT supported in Table API and SQL
URL: https://github.com/apache/flink/pull/6597#discussion_r212618421
 
 

 ##########
 File path: docs/dev/table/functions.md
 ##########
 @@ -2614,6 +2626,18 @@ STRING.rtrim()
         <p>E.g., <code>'This is a test String. '.rtrim()</code> returns "This 
is a test String.".</p>
       </td>
     </tr>
+
+    <tr>
+      <td>
+        {% highlight java %}
+STRING.repeat(INT)
+{% endhighlight %}
+      </td>
+      <td>
+        <p>Returns a string that repeats the base <i>STRING</i> <i>INT</i> 
times.</p> 
+        <p>E.g., <code>"This is a test String. ".repeat(2)</code> returns 
"This is a test String.This is a test String.".</p>
 
 Review comment:
   There's an additional space after the full stop. (I've fixed it in my 
branch, so just let it be there.)

----------------------------------------------------------------
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:
us...@infra.apache.org


> Add REPEAT supported in Table API and SQL
> -----------------------------------------
>
>                 Key: FLINK-10136
>                 URL: https://issues.apache.org/jira/browse/FLINK-10136
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Table API &amp; SQL
>            Reporter: vinoyang
>            Assignee: vinoyang
>            Priority: Minor
>              Labels: pull-request-available
>
> Oracle : 
> [https://docs.oracle.com/cd/E17952_01/mysql-5.1-en/string-functions.html#function_repeat]
> MySql: 
> https://dev.mysql.com/doc/refman/5.5/en/string-functions.html#function_repeat



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to