chucheng92 opened a new pull request, #3298:
URL: https://github.com/apache/calcite/pull/3298
# What is the purpose of the change
Returns the string or binary data bit numbers.
> SELECT bit_length('Apache Calcite');
72
> SELECT bit_length(x'537061726b2053514c');
72
details pls see:
https://spark.apache.org/docs/latest/api/sql/index.html#bit_length
# Brief change log
Add bit_length (enabled in Spark library)
# Verifying this change
SqlOperatorTests#testBitLength
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]