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/21 04:35:47 UTC

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

Guibo-Pan 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_r211475986
 
 

 ##########
 File path: flink-libraries/flink-table/src/main/scala/org/apache/flink/table/functions/sql/ScalarSqlFunctions.scala
 ##########
 @@ -67,6 +67,14 @@ object ScalarSqlFunctions {
     OperandTypes.ONE_OR_MORE,
     SqlFunctionCategory.STRING)
 
+  val REPLACE = new SqlFunction(
 
 Review comment:
   I use SqlStdOperatorTable.REPLACE at first, however that REPLACE function can not handle null params, so I create a new function which refer to SqlStdOperatorTable.REPLACE.

----------------------------------------------------------------
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