Skip to content

Commit

Permalink
Dont re-use pandas sink instances across windows
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNeuralBit committed Mar 30, 2021
1 parent 949d2e0 commit b88ebc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdks/python/apache_beam/dataframe/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ def expand(self, pcoll):
return pcoll | fileio.WriteToFiles(
path=dir,
file_naming=fileio.default_file_naming(name),
sink=_WriteToPandasFileSink(
sink=lambda _: _WriteToPandasFileSink(
self.writer, self.args, self.kwargs, self.incremental, self.binary))


Expand Down

0 comments on commit b88ebc8

Please sign in to comment.