Runkang He created CALCITE-5848:
-----------------------------------
Summary: Add BIT_GET and GETBIT function (enabled in Spark library)
Key: CALCITE-5848
URL: https://issues.apache.org/jira/browse/CALCITE-5848
Project: Calcite
Issue Type: New Feature
Components: core
Affects Versions: 1.34.0
Reporter: Runkang He
Add BIT_GET and GETBIT function (enabled in Spark library):
BIT_GET(expr, pos) - Returns the value of the bit (0 or 1) at the specified
position. The positions are numbered from right to left, starting at zero. The
position argument cannot be negative.
GETBIT is an alias of BIT_GET.
See more details in
[Spark|https://spark.apache.org/docs/latest/api/sql/index.html#bit_get] doc.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)