chunweilei commented on a change in pull request #1095: [CALCITE-2599] add the 
ASCII function
URL: https://github.com/apache/calcite/pull/1095#discussion_r264002677
 
 

 ##########
 File path: site/_docs/reference.md
 ##########
 @@ -1447,10 +1448,10 @@ period:
 | {fn SUBSTRING(string, offset, length)} | Returns a character string that 
consists of *length* characters from *string* starting at the *offset* position
 | {fn UCASE(string)} | Returns a string in which all alphabetic characters in 
*string* have been converted to upper case
 | {fn REPLACE(string, search, replacement)} | Returns a string in which all 
the occurrences of *search* in *string* are replaced with *replacement*; if 
*replacement* is the empty string, the occurrences of *search* are removed
+| {fn ASCII(string)} | Returns the corresponding ASCII code of a 
single-character string
 
 Review comment:
   It may return negative number when meeting Chinese character because of  
encoding with UTF-8.

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

Reply via email to