

@dispatch(Coerce, Select)
def compute_up(expr, data, **kwargs):
    column = first(data.inner_columns)
    cast = sa.cast(column, dshape_to_alchemy(expr.to)).label(cast._name)
    return reconstruct_select([cast], data)

dataset/ETHPy150Open blaze/blaze/blaze/compute/sql.py compute_up/VarMisuse@50/60 `expr`->`cast`