liyafan82 commented on a change in pull request #10114:
URL: https://github.com/apache/arrow/pull/10114#discussion_r771322280
##########
File path:
java/dataset/src/test/java/org/apache/arrow/dataset/ParquetWriteSupport.java
##########
@@ -42,13 +43,15 @@
private final Schema avroSchema;
private final List<GenericRecord> writtenRecords = new ArrayList<>();
private final GenericRecordListBuilder recordListBuilder = new
GenericRecordListBuilder();
+ private final Random random = new Random();
Review comment:
I mean if we do not use a seed, it amounts to always setting 0 as the
seed. So each time we run the program, we get the same random numbers (they are
just pseudo-random), and the same file names.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]