[
https://issues.apache.org/jira/browse/CALCITE-5829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ran Tao updated CALCITE-5829:
-----------------------------
Description:
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} .
https://cloud.google.com/bigquery/docs/reference/standard-sql/string_functions#byte_length
was:
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} .
> 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
> Priority: Major
>
> 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} .
>
> https://cloud.google.com/bigquery/docs/reference/standard-sql/string_functions#byte_length
--
This message was sent by Atlassian Jira
(v8.20.10#820010)