Skip to content

Commit 2e2499d

Browse files
author
Rafał Hibner
committed
BatchWriteConcurrent use thread safe MakeBatch
1 parent 206d8a2 commit 2e2499d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cpp/src/arrow/dataset/dataset_writer_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ TEST_F(DatasetWriterTestFixture, BatchWriteConcurrent) {
292292
while (paused_) {
293293
SleepABit();
294294
}
295-
dataset_writer->WriteRecordBatch(MakeBatch(batch + i + 10 * j), "");
295+
dataset_writer->WriteRecordBatch(MakeBatch(0, batch + i + 10 * j), "");
296296
}
297297
}));
298298
}

0 commit comments

Comments
 (0)