[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Created] (FLINK-10145) Add replace supported in TableAPI and SQL

Guibo Pan created FLINK-10145:

             Summary: Add replace supported in TableAPI and SQL
                 Key: FLINK-10145
                 URL: https://issues.apache.org/jira/browse/FLINK-10145
             Project: Flink
          Issue Type: Sub-task
          Components: Table API & SQL
            Reporter: Guibo Pan

replace is an useful function for String. 

for example:
select replace("Hello World", "World", "Flink") // return "Hello Flink"
select replace("ababab", "abab", "z") // return "zab"
It is supported as a UDF in Hive, more details please see[1]

[1]: https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF#LanguageManualUDF-StringFunctions

This message was sent by Atlassian JIRA