apucher commented on a change in pull request #5118:
URL: https://github.com/apache/incubator-pinot/pull/5118#discussion_r514588788



##########
File path: 
pinot-tools/src/main/java/org/apache/pinot/tools/data/generator/DataGenerator.java
##########
@@ -100,6 +110,23 @@ public void generate(long totalDocs, int numFiles)
     }
   }
 
+  public void generateCsv(long totalDocs, int numFiles)
+      throws IOException {
+    final int numPerFiles = (int) (totalDocs / numFiles);
+    for (int i = 0; i < numFiles; i++) {
+      try (FileWriter writer = new FileWriter(outDir + "/output.csv")) {

Review comment:
       btw. here's the `generator.sh` script that uses the DataGenerator:
   
https://github.com/apache/incubator-pinot/blob/master/docker/images/pinot/bin/generator.sh




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to