Skip to content

Commit b0974a9

Browse files
committed
after_from_json_codegen
1 parent 2a13011 commit b0974a9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sql/core/src/test/scala/org/apache/spark/sql/execution/SubExprEliminationBenchmark.scala

+3-3
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ object SubExprEliminationBenchmark extends SqlBasedBenchmark {
8282

8383
withTempPath { path =>
8484
prepareDataInfo(benchmark)
85-
val numCols = 500
85+
val numCols = 330
8686
val schema = writeWideRow(path.getAbsolutePath, rowsNum, numCols)
8787

8888
val jsonValue = from_json($"value", schema)
@@ -121,8 +121,8 @@ object SubExprEliminationBenchmark extends SqlBasedBenchmark {
121121
override def runBenchmarkSuite(mainArgs: Array[String]): Unit = {
122122
val numIters = 3
123123
runBenchmark("Benchmark for performance of subexpression elimination") {
124-
withFromJson(100, numIters)
125-
withFilter(100, numIters)
124+
// withFromJson(100, numIters)
125+
withFilter(100000, numIters)
126126
}
127127
}
128128
}

0 commit comments

Comments
 (0)