[
https://issues.apache.org/jira/browse/CALCITE-5829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17741490#comment-17741490
]
Dan Zou commented on CALCITE-5829:
----------------------------------
Hi [~taoran], there is already a jira
[CALCITE-5729|https://issues.apache.org/jira/browse/CALCITE-5729] to trace this
function.
> 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
> Labels: pull-request-available
>
> 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)