[ 
https://issues.apache.org/jira/browse/CALCITE-5452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17676810#comment-17676810
 ] 

Julian Hyde commented on CALCITE-5452:
--------------------------------------

Fixed in 
[a7d34b89|https://github.com/apache/calcite/commit/a7d34b89c615906b1dcbdd9fbc05d4f7c78c5a19];
 thanks for the PR, [~tanclary]!

> Add BigQuery LENGTH() as synonym for CHAR_LENGTH()
> --------------------------------------------------
>
>                 Key: CALCITE-5452
>                 URL: https://issues.apache.org/jira/browse/CALCITE-5452
>             Project: Calcite
>          Issue Type: Improvement
>            Reporter: Tanner Clary
>            Assignee: Tanner Clary
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.33.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Add {{LENGTH()}} as a synonym under the BigQuery library. Calcite currently 
> supports {{CHAR_LENGTH()}} and {{CHARACTER_LENGTH()}} as standard functions 
> which return the length of a provided string of characters. BigQuery offers 
> the {{LENGTH()}} function which serves the same purpose. 
> Example: SELECT LENGTH("hello"); would return 5.
> [BigQuery Docs | 
> https://cloud.google.com/bigquery/docs/reference/standard-sql/string_functions#length
>  ]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to