YiwenWu commented on code in PR #3684:
URL: https://github.com/apache/calcite/pull/3684#discussion_r1497521713
##########
site/_docs/reference.md:
##########
@@ -2700,12 +2700,14 @@ In the following:
| s | BIT_GET(value, position) | Returns the bit (0 or
1) value at the specified *position* of numeric *value*. The positions are
numbered from right to left, starting at zero. The *position* argument cannot
be negative
| b | CEIL(value) | Similar to standard
`CEIL(value)` except if *value* is an integer type, the return type is a double
| m s | CHAR(integer) | Returns the character
whose ASCII code is *integer* % 256, or null if *integer* < 0
+| s | CHR(integer) | Returns the character
whose ASCII code is *integer* % 256, or null if *integer* < 0
Review Comment:
@caicancai The difference:
- Spark [CHR](https://spark.apache.org/docs/latest/api/sql/index.html#chr):
Returns the ASCII character;
- Currently defined CHR: returns the character UTF-8 code
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]