hongyu guo created CALCITE-5993: ----------------------------------- Summary: Add CODE_POINTS_TO_STRING, TO_CODE_POINTS function (enabled in BigQuery library) Key: CALCITE-5993 URL: https://issues.apache.org/jira/browse/CALCITE-5993 Project: Calcite Issue Type: New Feature Components: core Affects Versions: 1.35.0 Reporter: hongyu guo Assignee: hongyu guo Fix For: 1.36.0
CODE_POINTS_TO_STRING: Takes an array of Unicode code points as ARRAY<INT64> and returns a STRING. TO_CODE_POINTS: Takes a STRING or BYTES value and returns an array of INT64 values that represent code points or extended ASCII character values. If value is a STRING, each element in the returned array represents a code point. Each code point falls within the range of [0, 0xD7FF] and [0xE000, 0x10FFFF]. If value is BYTES, each element in the array is an extended ASCII character value in the range of [0, 255]. See more in [code_points_to_string|https://cloud.google.com/bigquery/docs/reference/standard-sql/functions-and-operators#code_points_to_string] and [to_code_points|https://cloud.google.com/bigquery/docs/reference/standard-sql/functions-and-operators#to_code_points] -- This message was sent by Atlassian Jira (v8.20.10#820010)