@dispatch(Pow, Select)
def compute_up(t, data, **kwargs):
    assert len(data.c) == 1, (
        'Select cannot have more than a single column when doing'
        ' arithmetic, got %r' % data
    )
    column = first(data.inner_columns)
    if isinstance(t.lhs, Expr):
        return sa.func.pow(column, t.rhs)
    else:
        return sa.func.pow(t.lhs, column)
dataset/ETHPy150Open blaze/blaze/blaze/compute/sql.py/compute_up/original