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 2019/05/21 23:18:00 UTC

[jira] [Comment Edited] (CALCITE-1126) Add "&" operation

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

Julian Hyde edited comment on CALCITE-1126 at 5/21/19 11:17 PM:
----------------------------------------------------------------

It could go into the Babel parser. I would not add it to Calcite's core parser.

Also, Oracle has a {{BITAND}} function (e.g. {{BITAND(6, 3)}} returns {{2}}) and maybe someone could add that as a UDF, or as a function in the Oracle operator table. It would not need a change to the parser.

Note that Calcite already has a {{BIT_AND}} aggregate function (added in CALCITE-2770), which is a different thing.


was (Author: julianhyde):
It could go into the Babel parser. I would not add it to Calcite's core parser.

Also, Oracle has a BITAND function (e.g. BITAND(6, 3) returns 2) and maybe someone could add that as a UDF, or as a function in the Oracle operator table. It would not need a change to the parser.

> Add "&" operation
> -----------------
>
>                 Key: CALCITE-1126
>                 URL: https://issues.apache.org/jira/browse/CALCITE-1126
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Sameh Samra
>            Priority: Major
>              Labels: dialect
>
> MSSQL uses "&" to support Masking. But calcite parser doesn't understand it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)