ambition119 opened a new pull request #1209: [CALCITE-2601] support string reverse function URL: https://github.com/apache/calcite/pull/1209 Fix [ISSUE #2601](https://issues.apache.org/jira/browse/CALCITE-2601) mysql ```sql mysql> SELECT REVERSE('hello'); +------------------+ | REVERSE('hello') | +------------------+ | olleh | +------------------+ 1 row in set (0.00 sec) ``` sql server ``` DECLARE @str NVARCHAR(100) SET @str='ABCD' SELECT REVERSE(@str) ``` pg ``` testdb=# SELECT REVERSE('abcd'); reverse --------- dcba (1 row) ``` oracle ``` SQL> select reverse('12345') from dual; REVER 54321 ``` doc: https://dev.mysql.com/doc/refman/5.7/en/string-functions.html#function_reverse
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to 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
