Skip to content

Commit

Permalink
feat(bigquery) : add estimate total rows
Browse files Browse the repository at this point in the history
  • Loading branch information
k-anshul authored Aug 28, 2023
1 parent 2f2d117 commit 1c2929d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bigquery/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ func (q *Query) ReadAsArrowObjects(ctx context.Context) (it *ArrowIterator, err
return nil, err
}

if rowIter.arrowIterator != nil {
if rowIter.arrowIterator == nil {
return nil, errors.New("bigquery: results not available as arrow records")
}

Expand Down

0 comments on commit 1c2929d

Please sign in to comment.