Skip to content

Commit

Permalink
feat(clickhouse): implement bitwise operations
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud authored and kszucs committed Sep 5, 2022
1 parent 9b1ebf5 commit 348cd08
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ibis/backends/clickhouse/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -876,6 +876,12 @@ def _repeat(translator, expr):
ops.NthValue: _nth_value,
ops.Window: window.window,
ops.NTile: window.ntile,
ops.BitwiseAnd: _fixed_arity('bitAnd', 2),
ops.BitwiseOr: _fixed_arity('bitOr', 2),
ops.BitwiseXor: _fixed_arity('bitXor', 2),
ops.BitwiseNot: _unary('bitNot'),
ops.BitwiseLeftShift: _fixed_arity('bitShiftLeft', 2),
ops.BitwiseRightShift: _fixed_arity('bitShiftRight', 2),
}


Expand Down

0 comments on commit 348cd08

Please sign in to comment.