andygrove commented on code in PR #1308:
URL: https://github.com/apache/datafusion-comet/pull/1308#discussion_r1925425925


##########
fuzz-testing/src/main/scala/org/apache/comet/fuzz/Main.scala:
##########
@@ -60,13 +64,20 @@ object Main {
     val conf = new Conf(args.toIndexedSeq)
     conf.subcommand match {
       case Some(conf.generateData) =>
-        DataGen.generateRandomFiles(
-          r,
-          spark,
-          numFiles = conf.generateData.numFiles(),
-          numRows = conf.generateData.numRows(),
-          numColumns = conf.generateData.numColumns(),
+        val options = DataGenOptions(
+          allowNull = true,
+          generateArray = conf.generateData.generateArrays(),
+          generateStruct = conf.generateData.generateStructs(),
+          generateMap = conf.generateData.generateMaps(),
           generateNegativeZero = !conf.generateData.excludeNegativeZero())
+        for (i <- 0 until conf.generateData.numFiles()) {
+          ParquetGenerator.makeParquetFile(
+            r,
+            spark,
+            s"test$i.parquet",
+            numRows = conf.generateData.numRows(),

Review Comment:
   This is the number of rows per file. I pushed a commit to add descriptions 
for all command-line options.
   
   ```
     -e, --exclude-negative-zero   Whether to exclude negative zero
     -g, --generate-arrays         Whether to generate arrays
         --generate-maps           Whether to generate maps
         --generate-structs        Whether to generate structs
     -n, --num-files  <arg>        Number of files to generate
         --num-rows  <arg>         Number of rows per file
     -h, --help                    Show help message
   ```



-- 
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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to