uros-b commented on code in PR #56479:
URL: https://github.com/apache/spark/pull/56479#discussion_r3441298535


##########
.github/workflows/benchmark.yml:
##########
@@ -73,7 +78,11 @@ jobs:
   # Any TPC-DS related updates on this job need to be applied to tpcds-1g job 
of build_and_test.yml as well
   tpcds-1g-gen:
     name: "Generate an TPC-DS dataset with SF=1"
-    if: contains(inputs.class, 'TPCDSQueryBenchmark') || 
contains(inputs.class, 'LZ4TPCDSDataBenchmark') || contains(inputs.class, 
'ZStandardTPCDSDataBenchmark') || contains(inputs.class, '*')
+    # Only generate TPC-DS data when running TPC-DS benchmarks or all 
benchmarks (class == '*').
+    # Use contains(inputs.class, 'TPCDS') to catch both exact class names and 
globs like '*TPCDS*'.
+    # Use exact equality for '*' to avoid matching wildcard patterns like
+    # '*VectorizedDeltaReaderBenchmark' that don't need TPC-DS data.
+    if: contains(inputs.class, 'TPCDS') || inputs.class == '*'

Review Comment:
   Thank you for addressing the comments @iemejia! But how about 
`org.apache.spark.sql.execution.benchmark.*` here? Also, not sure how future 
proof this is...
   cc @yaooqinn @panbingkun for additional opinions here



-- 
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]

Reply via email to