Skip to content

Commit

Permalink
disable for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
samster25 committed Oct 13, 2023
1 parent 2b8fa1c commit f0ddc2c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions daft/series.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from __future__ import annotations

import sys
from typing import TypeVar

import pyarrow as pa
Expand Down Expand Up @@ -490,7 +491,11 @@ def image(self) -> SeriesImageNamespace:
def __reduce__(self) -> tuple:
if self.datatype()._is_python_type():
return (Series.from_pylist, (self.to_pylist(), self.name(), "force"))
elif sys.platform == "win32":
return (Series.from_arrow, (self.to_arrow(), self.name()))
else:
# Ray Special CloudPickling fast path.
# Only run for Linux and Mac, since windows runs slower for some reason
return (
Series._from_arrow_table_to_series,
self._to_arrow_table_for_serdes(),
Expand Down

0 comments on commit f0ddc2c

Please sign in to comment.