[ 
https://issues.apache.org/jira/browse/CALCITE-3779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17598505#comment-17598505
 ] 

Dirk commented on CALCITE-3779:
-------------------------------

Sorry, [~hailong wang] I'd also like to check if there is any progress on this?

Additional question:
Would this only support e.g. "BITAND" as a scalar function or also support the 
"&" operator syntax. It looks like some DBMSes like DB2 support ( 
[https://www.ibm.com/docs/en/db2/11.5?topic=elements-expressions#sdx-synid_operator]
 ) both, but MySQL only supports the operator syntax 
([https://dev.mysql.com/doc/refman/5.7/en/bit-functions.html] ) . Note that in 
MySQL "BITAND" is the aggregate function only, which has a different semantics.

> Implement BITAND scalar function
> --------------------------------
>
>                 Key: CALCITE-3779
>                 URL: https://issues.apache.org/jira/browse/CALCITE-3779
>             Project: Calcite
>          Issue Type: Sub-task
>          Components: core
>    Affects Versions: 1.21.0
>            Reporter: hailong wang
>            Assignee: hailong wang
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 2h 50m
>  Remaining Estimate: 0h
>
> Implement BITAND scalar function which support tinyint, smallint, int, 
> bigint, binary and varbinary type.



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

Reply via email to