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

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

hequn8128 commented on a change in pull request #6494: [FLINK-10059] [table] 
Add LTRIM supported in Table API and SQL
URL: https://github.com/apache/flink/pull/6494#discussion_r208608782
 
 

 ##########
 File path: docs/dev/table/tableApi.md
 ##########
 @@ -2510,6 +2510,19 @@ STRING.toBase64()
       </td>
     </tr>
 
+    <tr>
+      <td>
+        {% highlight java %}
+STRING.ltrim()
+{% endhighlight %}
+      </td>
+
+      <td>
+         <p>Returns the result string which trimmed the left spaces from the 
base string; returns NULL if <i>string</i> is NULL.</p> 
+         <p>E.g., <code>" This is a test String.".ltrim()</code> returns "This 
is a test String.".</p>
 
 Review comment:
   \<code>" This is a test String.".ltrim()\</code> => \<code>' This is a test 
String.'.ltrim()\</code>

----------------------------------------------------------------
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 LTRIM supported in Table API and SQL
> ----------------------------------------
>
>                 Key: FLINK-10059
>                 URL: https://issues.apache.org/jira/browse/FLINK-10059
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Table API &amp; SQL
>            Reporter: vinoyang
>            Assignee: vinoyang
>            Priority: Minor
>              Labels: pull-request-available
>
> refer to MYSQL ltrim function : 
> https://dev.mysql.com/doc/refman/8.0/en/string-functions.html#function_ltrim



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

Reply via email to