@dispatch(Head, FromClause)
def compute_up(t, s, **kwargs):
    if s._limit is not None and s._limit <= t.n:
        return s
    return s.limit(t.n)
dataset/ETHPy150Open blaze/blaze/blaze/compute/sql.py/compute_up/original