You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2020/06/26 10:41:01 UTC

[GitHub] [druid] clintropolis commented on issue #8560: Feature request: Implement bitwise operators & and |

clintropolis commented on issue #8560:
URL: https://github.com/apache/druid/issues/8560#issuecomment-650112770


   We can add support for these functions to native Druid JSON queries, but I don't think SQL support is possible until https://issues.apache.org/jira/browse/CALCITE-3732 is resolved. The existing `BIT_AND` and `BIT_OR` in Calcite are defined as aggregates instead of operators, so are I think not possible to use to connect to the native Druid expressions.
   
   I opened #10084 which adds support for `|`, `&`, and `~` to native JSON queries, leaving out XOR because `^` is already in use for the power operator, so we'll need to figure out what to do about that.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org