You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2018/08/19 05:26:31 UTC

[GitHub] yanghua commented on a change in pull request #6576: [FLINK-10145][table] Add replace supported in TableAPI and SQL

yanghua commented on a change in pull request #6576: [FLINK-10145][table] Add replace supported in TableAPI and SQL
URL: https://github.com/apache/flink/pull/6576#discussion_r211091900
 
 

 ##########
 File path: docs/dev/table/functions.md
 ##########
 @@ -2592,6 +2604,18 @@ STRING.substring(INT1, INT2)
       </td>
     </tr>
 
+    <tr>
+      <td>
+        {% highlight java %}
+STRING.replace(STRING1, STRING2)
+{% endhighlight %}
+      </td>
+      <td>
+        <p>Returns a new string from <i>STRING</i> replaced <i>STRING1</i>(non-overlapping) with <i>STRING2</i>.</p>
+        <p>E.g., <code>'hello world'.replace('world', 'flink')</code> returns 'hello flink'; <code>'ababab'.replace('abab', 'z')</code> returns "zab"</p>
 
 Review comment:
   replace all '' to ""

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


With regards,
Apache Git Services