Tanner Clary created CALCITE-5452:
-------------------------------------
Summary: 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
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)