spark-sql-perf/bin/spark-perf
ludatabricks e8aa132bb8 [ML-3870] Make spark-sql-perf master compiled with spark 2.3 and scala 2.11 (#155)
Change the build config to update spark 2.3 and update the scala dependence in bin/spark-perf
2018-06-15 06:40:14 -07:00

10 lines
374 B
Bash
Executable File

#!/bin/bash
# runs the most recent published version of spark-sql-perf, from within the spark directory
# spark is compiled using SBT
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
VERSION=`git -C $DIR/../ tag | tail -n 1 | cut -c 2-`
ARGS="sparkPackage com.databricks:spark-sql-perf_2.11:$VERSION com.databricks.spark.sql.perf.RunBenchmark $@"
build/sbt "$ARGS"