

@dispatch(ReLabel, Selectable)
def compute_up(expr, data, **kwargs):
    names = data.c.keys()
    assert (names == expr._child.fields)
    d = dict(zip(names, getattr(data, 'inner_columns', data.c)))
    return reconstruct_select(((d[col].label(new_col) if (col != col) else d[col]) for (col, new_col) in zip(expr._child.fields, expr.fields)), data)

dataset/ETHPy150Open blaze/blaze/blaze/compute/sql.py compute_up/VarMisuse@83/96 `new_col`->`col`