[ https://issues.apache.org/jira/browse/FLINK-10152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16632725#comment-16632725 ]
ASF GitHub Bot commented on FLINK-10152: ---------------------------------------- yanghua commented on a change in pull request #6773: [FLINK-10152] [table] Add reverse function in Table API and SQL URL: https://github.com/apache/flink/pull/6773#discussion_r221411780 ########## File path: docs/dev/table/functions.md ########## @@ -2460,6 +2460,17 @@ REPLACE(string1, string2, string3) </td> </tr> + <tr> + <td> + {% highlight text %} +REVERSE(string) +{% endhighlight %} + </td> + <td> + <p>Returns the reversed result from <i>string</i>.</p> Review comment: If there is an example, it would be better to demonstrate the use of the function. ---------------------------------------------------------------- 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 reverse supported in TableAPI and SQL > ----------------------------------------- > > Key: FLINK-10152 > URL: https://issues.apache.org/jira/browse/FLINK-10152 > Project: Flink > Issue Type: Sub-task > Components: Table API & SQL > Reporter: Guibo Pan > Assignee: Guibo Pan > Priority: Major > Labels: pull-request-available > > reverse is useful function for procession String. > for example: > {code:java} > select reverse("abcd") // return "dcba" > {code} > 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 (v7.6.3#76005)