You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (Jira)" <ji...@apache.org> on 2020/10/19 22:13:00 UTC

[jira] [Commented] (CALCITE-3732) Implement bit functions and operators

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

Julian Hyde commented on CALCITE-3732:
--------------------------------------

[~hailong wang], Is this still in progress? Is anything ready to be reviewed to go into release 1.27?

> Implement bit functions and operators
> -------------------------------------
>
>                 Key: CALCITE-3732
>                 URL: https://issues.apache.org/jira/browse/CALCITE-3732
>             Project: Calcite
>          Issue Type: Task
>          Components: core
>    Affects Versions: 1.21.0
>            Reporter: hailong wang
>            Assignee: hailong wang
>            Priority: Major
>
> Bit function is non-standard operators, but all db has implemented, such as mysql, postgresql.
> Calcite has implemented BIT_AND, BIT_OR in CALCITE-2770, BIT_XOR in CALCITE-3591. BIT_COUNT is in progress CALCITE-3697, BIT_NOT(~) is in progress CALCITE-3592.
> So I think we should also implement Bitwise AND(&), Right shift(>>), Left shift(<<), Bitwise XOR(^), Bitwise OR(|). And data types support tinyint, smallint, int, bigint like before.
>  
> Refence: [https://dev.mysql.com/doc/refman/8.0/en/bit-functions.html#operator_bitwise-invert] 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)