You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/09/29 02:08:00 UTC

[jira] [Commented] (FLINK-10152) Add reverse supported in TableAPI and SQL

    [ https://issues.apache.org/jira/browse/FLINK-10152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16632726#comment-16632726 ] 

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_r221411819
 
 

 ##########
 File path: docs/dev/table/functions.md
 ##########
 @@ -2963,6 +2985,17 @@ STRING1.replace(STRING2, STRING3)
       </td>
     </tr>
 
+    <tr>
+      <td>
+        {% highlight scala %}
+STRING.reverse()
+{% endhighlight %}
+      </td>
+      <td>
+        <p>Returns the reversed result from <i>STRING</i>.</p>
 
 Review comment:
   the same

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


> 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 &amp; 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)