Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
ianmcook committed Mar 19, 2024
1 parent c7abc2e commit e01b416
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/pyspark/sql/connect/dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -1776,8 +1776,8 @@ def _to_table(self) -> Tuple["pa.Table", Optional[StructType]]:
return (table, schema)

def _toArrow(self) -> "pa.Table":
query = self._plan.to_proto(self._session.client)
return self._session.client.to_table(query, self._plan.observations)
table = self._to_table()[0]
return table

_toArrow.__doc__ = PySparkDataFrame._toArrow.__doc__

Expand Down

0 comments on commit e01b416

Please sign in to comment.