You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Benchao Li (Jira)" <ji...@apache.org> on 2023/11/01 06:15:00 UTC
[jira] [Commented] (CALCITE-5848) Add BIT_GET and GETBIT function (enabled in Spark library)
[ https://issues.apache.org/jira/browse/CALCITE-5848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17781605#comment-17781605 ]
Benchao Li commented on CALCITE-5848:
-------------------------------------
[~FrankZou] Please fill the fixVersion when you solve an issue:)
> 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
> Assignee: Runkang He
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.36.0
>
>
> 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)