xccui 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_r211456540
##########
File path: docs/dev/table/functions.md
##########
@@ -2400,6 +2400,18 @@ SUBSTRING(string FROM integer1 [ FOR integer2 ])
</td>
</tr>
+ <tr>
+ <td>
+ {% highlight text %}
+REPLACE(string, search, replacement)
+{% endhighlight %}
+ </td>
+ <td>
+ <p>Returns a new string from <i>string</i> replaced
<i>search</i>(non-overlapping) with <i>replacement</i>.</p>
Review comment:
Returns a new string which replaces \<i>string2\</i> with \<i>string3\</i>
(non-overlapping) from \<i>string1\</i>. Please update the Java and Scala
documentation correspondingly.
----------------------------------------------------------------
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]
With regards,
Apache Git Services