Skip to content

Commit bf8c827

Browse files
fix results bytes estimate
1 parent bdb1476 commit bf8c827

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bigframes/session/executor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,8 @@ def batches(self) -> ResultsIterator:
254254
self._project_id,
255255
)
256256
arrow_batches = read_batches.iter
257-
approx_bytes: Optional[int] = self._data.n_rows or read_batches.approx_bytes
258-
approx_rows: Optional[int] = read_batches.approx_rows
257+
approx_bytes: Optional[int] = read_batches.approx_bytes
258+
approx_rows: Optional[int] = self._data.n_rows or read_batches.approx_rows
259259

260260
if self._limit is not None:
261261
if approx_rows is not None:

0 commit comments

Comments
 (0)