

@dispatch(DateTimeTruncate, ColumnElement)
def compute_up(expr, data, **kwargs):
    return sa.func.date_trunc(expr.unit, expr).label(expr._name)

dataset/ETHPy150Open blaze/blaze/blaze/compute/sql.py compute_up/VarMisuse@34/42 `data`->`expr`