[ 
https://issues.apache.org/jira/browse/CALCITE-5822?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde resolved CALCITE-5822.
----------------------------------
    Resolution: Fixed

Fixed in 
[ad3ecd21|https://github.com/apache/calcite/commit/ad3ecd2187f0f41e2283b69afd7e5179b2b56516];
 thanks for the PR, [~taoran]!

> Add BIT_LENGTH function (enabled in Spark library)
> --------------------------------------------------
>
>                 Key: CALCITE-5822
>                 URL: https://issues.apache.org/jira/browse/CALCITE-5822
>             Project: Calcite
>          Issue Type: Improvement
>          Components: core
>            Reporter: Ran Tao
>            Assignee: Ran Tao
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.35.0
>
>
> Returns the string or binary data bit numbers.
> > SELECT bit_length('Apache Calcite');
> 112
> > SELECT bit_length(x'4170616368652043616C63697465'); 
> 112
>  
> [https://spark.apache.org/docs/latest/api/sql/index.html#bit_length]



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

Reply via email to