

@dispatch(FloorDiv, ColumnElement)
def compute_up(t, data, **kwargs):
    if isinstance(t.lhs, Expr):
        return sa.func.floor((data / t.rhs))
    else:
        return sa.func.floor((t.rhs / data))

dataset/ETHPy150Open blaze/blaze/blaze/compute/sql.py compute_up/original