diff --git a/lake/api/remote.go b/lake/api/remote.go index 57fd1be941..2693854306 100644 --- a/lake/api/remote.go +++ b/lake/api/remote.go @@ -128,10 +128,7 @@ func (r *remote) QueryWithControl(ctx context.Context, head *lakeparse.Commitish if err != nil { return nil, err } - q, err := queryio.NewQuery(res.Body), nil - if err != nil { - return nil, err - } + q := queryio.NewQuery(res.Body) return zbuf.MeterReadCloser(q), nil }