[
https://issues.apache.org/jira/browse/CALCITE-2599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16788784#comment-16788784
]
Andrei Sereda commented on CALCITE-2599:
----------------------------------------
>From what I've noticed Calcite generally follows postgresql standard (example
>{{extract}} function).
[ASCII|https://www.postgresql.org/docs/10/functions-string.html] in Postgres:
{quote}
ASCII code of the first character of the argument. For UTF8 returns the Unicode
code point of the character. For other multibyte encodings, the argument must
be an ASCII character.
{quote}
> Support ASCII(string) in SqlFunctions
> -------------------------------------
>
> Key: CALCITE-2599
> URL: https://issues.apache.org/jira/browse/CALCITE-2599
> Project: Calcite
> Issue Type: Improvement
> Components: core
> Reporter: TANG Wen-hui
> Priority: Major
> Labels: pull-request-available
> Time Spent: 3h 20m
> Remaining Estimate: 0h
>
> {fn ASCII(string)}- Convert a single-character string to the corresponding
> ASCII code, an integer between 0 and 255
> [https://calcite.apache.org/docs/reference.html]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)