oss-maker commented on code in PR #41856:
URL: https://github.com/apache/spark/pull/41856#discussion_r1254290182
##########
sql/core/src/test/scala/org/apache/spark/sql/execution/benchmark/TPCQueryBenchmarkArguments.scala:
##########
@@ -20,14 +20,11 @@ package org.apache.spark.sql.execution.benchmark
import java.util.Locale
-class TPCDSQueryBenchmarkArguments(val args: Array[String]) {
- var dataLocation: String = sys.env.getOrElse("SPARK_TPCDS_DATA", null)
+class TPCQueryBenchmarkArguments(val args: Array[String], val dataLocationEnv:
String) {
+ var dataLocation: String = sys.env.getOrElse(dataLocationEnv, null)
var queryFilter: Set[String] = Set.empty
var cboEnabled: Boolean = false
- parseArgs(args.toList)
Review Comment:
My bad, it's fixed now
--
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]