

@dispatch(Selection, Selectable)
def compute_up(expr, sel, scope=None, **kwargs):
    return compute(expr, {
        expr._child: sel,
        expr.predicate: compute(expr.predicate, toolz.merge({expr._child[col.name]: col for col in getattr(sel, 'inner_columns', sel.columns)}, scope), optimize=False, post_compute=False),
    }, return_type='native', **kwargs)

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