[
https://issues.apache.org/jira/browse/CALCITE-5452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tanner Clary resolved CALCITE-5452.
-----------------------------------
Resolution: Fixed
> 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
> 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)