[ https://issues.apache.org/jira/browse/CALCITE-3782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17206793#comment-17206793 ]
Vladimir Sitnikov commented on CALCITE-3782: -------------------------------------------- I don't know what is the specification for bitand, so I can't tell if there should be an exception or not. > Bitwise operator Bit_And, Bit_OR and Bit_XOR support binary and varbinary type > ------------------------------------------------------------------------------ > > Key: CALCITE-3782 > URL: https://issues.apache.org/jira/browse/CALCITE-3782 > Project: Calcite > Issue Type: Sub-task > Components: core > Affects Versions: 1.22.0 > Reporter: hailong wang > Assignee: hailong wang > Priority: Major > Labels: pull-request-available > Fix For: 1.26.0 > > Time Spent: 4h 50m > Remaining Estimate: 0h > > According to the discussion link CALCITE-3732 , We should make bitwise > operators work on all integer types, BINARY and VARBINARY. So Bit_And, Bit_OR > and Bit_XOR agg operator should also support BINARY and VARBINARY. -- This message was sent by Atlassian Jira (v8.3.4#803005)