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

 ##########
 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 the first 
character of *string*; Returns 0 if *string* is empty; Returns NULL if *string* 
is NULL
 
 Review comment:
   In my opinion,  explicitly saying that behavior is undefined for non-basic 
ascii looks like fine.

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