daft.Expression.shift_right

daft.Expression.shift_right#

Expression.shift_right(other: Expression) Expression[source]#

Shifts the bits of an integer expression to the right (expr >> other)

Note

For unsigned integers, this expression perform a logical right shift. For signed integers, this expression perform an arithmetic right shift.

Parameters:

other – The number of bits to shift the expression to the right