kkrugler commented on code in PR #8812:
URL: https://github.com/apache/pinot/pull/8812#discussion_r888306527
##########
pinot-plugins/pinot-batch-ingestion/pinot-batch-ingestion-standalone/src/main/java/org/apache/pinot/plugin/ingestion/batch/standalone/SegmentGenerationJobRunner.java:
##########
@@ -194,6 +199,23 @@ public void run()
filteredFiles.add(file);
}
}
+
+ // Sort files based on creation time.
+ Collections.sort(filteredFiles, new Comparator<String>() {
Review Comment:
OK, since input files are sorted by name if `useGlobalDirectorySequenceId`
isn't true, I'll rely on that to control ordering of segment generation in the
test. I've removed the sort code, and put a comment in about sorting being
problematic given the re-ordering that can happen, and load on external file
systems.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]