[SPARK-39693][INFRA] Do Not Execute tpcds-1g-gen for Benchmarks Other Than TPCDSQueryBenchmark
[SPARK-39693][INFRA] Do Not Execute tpcds-1g-gen for Benchmarks Other Than TPCDSQueryBenchmark

### What changes were proposed in this pull request?
Currently `tpcds-1g-gen` runs for any benchmarks even that do not require TPC-DS data on Github Actions.

This PR proposes to skip running `tpcds-1g-gen` if the benchmark class does not contain `TPCDSQueryBenchmark` or `*` based on the discussion on #37020

### Why are the changes needed?
This PR should save time to launch benchmarks on Github Actions

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?
Tested on Github Actions.

Closes #37120 from kazuyukitanimura/SPARK-39693.

Authored-by: Kazuyuki Tanimura <2442847bec2a898b1b969ac6f901b8c2078bb9ec@apple.com>
Signed-off-by: Hyukjin Kwon <2680965ad5aae29275c8fb10150cb10f5554e78b@apache.org>

holdenk/spark,wangyum/spark,witgo/spark,WeichenXu123/spark,mahak/spark,rednaxelafx/apache-spark,wangyum/spark,srowen/spark,holdenk/spark,WeichenXu123/spark,dongjoon-hyun/spark,HyukjinKwon/spark,nchammas/spark,hvanhovell/spark,WeichenXu123/spark,mahak/spark,zero323/spark,zero323/spark,srowen/spark,rednaxelafx/apache-spark,hvanhovell/spark,witgo/spark,holdenk/spark,gengliangwang/spark,gengliangwang/spark,shaneknapp/spark,HyukjinKwon/spark,zero323/spark,ueshin/apache-spark,hvanhovell/spark,wangyum/spark,nchammas/spark,witgo/spark,srowen/spark,srowen/spark,nchammas/spark,dongjoon-hyun/spark,zzcclp/spark,witgo/spark,nchammas/spark,WeichenXu123/spark,zero323/spark,HyukjinKwon/spark,rednaxelafx/apache-spark,holdenk/spark,shaneknapp/spark,ueshin/apache-spark,gengliangwang/spark,zzcclp/spark,mahak/spark,dongjoon-hyun/spark,apache/spark,nchammas/spark,srowen/spark,WeichenXu123/spark,srowen/spark,zzcclp/spark,HyukjinKwon/spark,nchammas/spark,apache/spark,apache/spark,rednaxelafx/apache-spark,WeichenXu123/spark,zzcclp/spark,dongjoon-hyun/spark,srowen/spark,vinodkc/spark,witgo/spark,holdenk/spark,vinodkc/spark,wangyum/spark,wangyum/spark,dongjoon-hyun/spark,apache/spark,nchammas/spark,rednaxelafx/apache-spark,vinodkc/spark,zero323/spark,mahak/spark,gengliangwang/spark,holdenk/spark,wangyum/spark,witgo/spark,witgo/spark,apache/spark,apache/spark,zzcclp/spark,mahak/spark,dongjoon-hyun/spark,shaneknapp/spark,rednaxelafx/apache-spark,zzcclp/spark,wangyum/spark,hvanhovell/spark,vinodkc/spark,hvanhovell/spark,ueshin/apache-spark,zero323/spark,zzcclp/spark,mahak/spark,gengliangwang/spark,vinodkc/spark,HyukjinKwon/spark,WeichenXu123/spark,gengliangwang/spark,vinodkc/spark,vinodkc/spark,hvanhovell/spark,mahak/spark,HyukjinKwon/spark,shaneknapp/spark,HyukjinKwon/spark,zero323/spark,shaneknapp/spark,ueshin/apache-spark,dongjoon-hyun/spark,gengliangwang/spark,shaneknapp/spark,holdenk/spark,apache/spark,shaneknapp/spark,ueshin/apache-spark,ueshin/apache-spark,rednaxelafx/apache-spark,hvanhovell/spark,ueshin/apache-spark