GitHub user maropu opened a pull request:
https://github.com/apache/spark/pull/19188
[SPARK-21973][SQL] Add an new option to filter queries in TPC-DS
## What changes were proposed in this pull request?
This pr added a new option to filter TPC-DS queries to run in
`TPCDSQueryBenchmark`.
By default, `TPCDSQueryBenchmark` runs all the TPC-DS queries.
This change could enable developers to run some of the TPC-DS queries by
this option,
e.g., to run q2, q4, and q6 only:
```
spark-submit --class <this class> --conf
spark.sql.tpcds.queryFilter="q2,q4,q6" --jars <spark sql test jar>
```
## How was this patch tested?
Manually checked.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/maropu/spark RunPartialQueriesInTPCDS
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/19188.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #19188
----
commit 4665e852f82933be02dd93990e858dba550d73a4
Author: Takeshi Yamamuro <[email protected]>
Date: 2017-09-11T06:36:22Z
Add an option to filter queries in TPC-DS
Please enter the commit message for your changes. Lines starting
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]