Skip to content

Commit

Permalink
fix: fallback to default backend with to_pyarrow/to_pyarrow_batches
Browse files Browse the repository at this point in the history
  • Loading branch information
jcrist authored and cpcloud committed Jan 18, 2023
1 parent 60f1a1b commit a1a6902
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ibis/expr/types/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ def to_pyarrow_batches(
results
RecordBatchReader
"""
return self._find_backend().to_pyarrow_batches(
return self._find_backend(use_default=True).to_pyarrow_batches(
self,
params=params,
limit=limit,
Expand Down Expand Up @@ -365,7 +365,7 @@ def to_pyarrow(
Table
A pyarrow table holding the results of the executed expression.
"""
return self._find_backend().to_pyarrow(
return self._find_backend(use_default=True).to_pyarrow(
self, params=params, limit=limit, **kwargs
)

Expand Down

0 comments on commit a1a6902

Please sign in to comment.