Ran Tao created CALCITE-5829:
--------------------------------
Summary: Add BYTE_LENGTH function (enabled in BigQuery)
Key: CALCITE-5829
URL: https://issues.apache.org/jira/browse/CALCITE-5829
Project: Calcite
Issue Type: Improvement
Components: core
Affects Versions: 1.34.0
Reporter: Ran Tao
Assignee: Ran Tao
Returns the string or binary data bit numbers.
> SELECT byte_length('Apache Calcite');
14
> SELECT byte_length(x'4170616368652043616C63697465');
14
note: this functions is similar with calcite std \{octet_length} to some
degree. but the input operand types and return types are not same with calcite
\{octet_length} .
--
This message was sent by Atlassian Jira
(v8.20.10#820010)