dongjoon-hyun commented on code in PR #46266: URL: https://github.com/apache/spark/pull/46266#discussion_r1585530275
########## connector/avro/src/test/scala/org/apache/spark/sql/execution/benchmark/AvroReadBenchmark.scala: ########## @@ -106,7 +106,8 @@ object AvroReadBenchmark extends SqlBasedBenchmark { import spark.implicits._ spark.range(values).map(_ => Random.nextLong()).createOrReplaceTempView("t1") - prepareTable(dir, spark.sql("SELECT value % 2 AS p, value AS id FROM t1"), Some("p")) + prepareTable(dir, + spark.sql(s"SELECT value % 2 AS p, value % ${Int.MaxValue} AS id FROM t1"), Some("p")) Review Comment: ditto. ########## connector/avro/src/test/scala/org/apache/spark/sql/execution/benchmark/AvroReadBenchmark.scala: ########## @@ -176,7 +177,7 @@ object AvroReadBenchmark extends SqlBasedBenchmark { withTempTable("t1", "avroTable") { import spark.implicits._ val middle = width / 2 - val selectExpr = (1 to width).map(i => s"value as c$i") + val selectExpr = (1 to width).map(i => s"value % ${Int.MaxValue} as c$i") Review Comment: ditto. -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org