

def _between(translator, expr):
    op = expr.op()
    (comp, lower, upper) = [translator.translate(x) for x in op.args]
    return '{0!s} BETWEEN {1!s} AND {2!s}'.format(comp, lower, upper)

dataset/ETHPy150Open cloudera/ibis/ibis/impala/compiler.py _between/original