We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdb1476 commit bf8c827Copy full SHA for bf8c827
bigframes/session/executor.py
@@ -254,8 +254,8 @@ def batches(self) -> ResultsIterator:
254
self._project_id,
255
)
256
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
+ approx_bytes: Optional[int] = read_batches.approx_bytes
+ approx_rows: Optional[int] = self._data.n_rows or read_batches.approx_rows
259
260
if self._limit is not None:
261
if approx_rows is not None:
0 commit comments