Skip to content

Commit bf138a8

Browse files
pitrouwesm
authored andcommitted
ARROW-4576: [Python] Fix error during benchmarks
Author: Antoine Pitrou <antoine@python.org> Closes apache#3650 from pitrou/ARROW-4576-py-benchmarks-fix and squashes the following commits: 67e8069 <Antoine Pitrou> ARROW-4576: Fix error during benchmarks
1 parent 47ebb1a commit bf138a8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎python/benchmarks/streaming.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def setup(self, chunk_size):
6262
stream_writer = pa.RecordBatchStreamWriter(sink, schema)
6363
for batch in batches:
6464
stream_writer.write_batch(batch)
65-
self.source = sink.get_result()
65+
self.source = sink.getvalue()
6666

6767
def time_read_to_dataframe(self, *args):
6868
reader = pa.RecordBatchStreamReader(self.source)

0 commit comments

Comments
 (0)