Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix: remove forced schema when converting pandas to pyarrow table
Signed-off-by: ebolblga <kkochanovskiy@gmail.com>
  • Loading branch information
ebolblga committed Jun 3, 2025
commit 6610a75b0f28e5274d23eb525d3e38433919661d
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def _to_df_internal(self, timeout: Optional[int] = None) -> pd.DataFrame:
def _to_arrow_internal(self, timeout: Optional[int] = None) -> pyarrow.Table:
"""Return payrrow dataset as synchronously including on demand transforms"""
return pyarrow.Table.from_pandas(
self._to_df_internal(timeout=timeout), schema=self.pyarrow_schema
self._to_df_internal(timeout=timeout)
)

def to_sql(self) -> str:
Expand Down