databricks/spark-sql-perf

spark-sql-perf questions

jameszhouyi opened this issue · 0 comments

I am new to spark-sql-perf test tool. I have some of confused questions about it. Hopefully got your answers. Thanks in advance !

  1. I deployed Spark 1.6.2 cluster. Could i use spark-sql-perf v0.4.3 to run and test ? I saw the spark version is set 2.0.0 in build.sbt in v0.4.3.

  2. How can I run one specified query(e.g., q19) in spark-shell, i only see below instruction to run all of queries:
    import com.databricks.spark.sql.perf.tpcds.TPCDS
    val tpcds = new TPCDS (sqlContext = sqlContext)
    val experiment = tpcds.runExperiment(tpcds.tpcds1_4Queries)