Skip to content

Commit

Permalink
Merge #133532
Browse files Browse the repository at this point in the history
133532: drtprod: modify tpch run script. r=shailendra-patel a=shailendra-patel

Modifying tpch run script to fix the number of arguments.

Epic: none

Release note: None

Co-authored-by: Shailendra Patel <[email protected]>
  • Loading branch information
craig[bot] and shailendra-patel committed Oct 28, 2024
2 parents 1b5c419 + 26a7365 commit 769a47f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions pkg/cmd/drtprod/configs/drt_scale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -172,5 +172,7 @@ targets:
flags:
scale-factor: 1000
- script: "pkg/cmd/drtprod/scripts/generate_tpch_run.sh"
args:
- scale_factor_1000
flags:
scale-factor: 1000
2 changes: 1 addition & 1 deletion pkg/cmd/drtprod/scripts/generate_tpch_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# This script sets up the tpch run workload script in the workload nodes
# The --scale-factor and other flags are passed as argument to this script
# NOTE - This uses CLUSTER and WORKLOAD_CLUSTER environment variable, if not set the script fails
if [ "$#" -lt 3 ]; then
if [ "$#" -lt 2 ]; then
echo "Usage: $0 <script_suffix> <flags to init:--scale-factor,--db>"
exit 1
fi
Expand Down

0 comments on commit 769a47f

Please sign in to comment.