You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "hongyu guo (Jira)" <ji...@apache.org> on 2023/08/17 16:38:00 UTC
[jira] [Commented] (CALCITE-5935) Add CODE_POINTS_TO_BYTES function (enabled in BigQuery library)
[ https://issues.apache.org/jira/browse/CALCITE-5935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17755623#comment-17755623 ]
hongyu guo commented on CALCITE-5935:
-------------------------------------
I've tested CODE_POINTS_TO_BYTES function in bigquery, so I know when the function is not available
- For null input, return null.
- For array with null element, return null.
- For input < 0 or input > 255, throw an exception.
> Add CODE_POINTS_TO_BYTES function (enabled in BigQuery library)
> ---------------------------------------------------------------
>
> Key: CALCITE-5935
> URL: https://issues.apache.org/jira/browse/CALCITE-5935
> Project: Calcite
> Issue Type: New Feature
> Reporter: hongyu guo
> Priority: Major
>
> CODE_POINTS_TO_BYTES(ascii_code_points): Takes an array of extended ASCII code points as {{ARRAY<INT64>}} and returns {{BYTES}}
> see more in [BigQuery Doc|https://cloud.google.com/bigquery/docs/reference/standard-sql/functions-and-operators#code_points_to_bytes]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)