Skip to content

Commit fe811b9

Browse files
committed
benchmark: Make tiktok generation script use default MAX_EVENTS.
Otherwise, if `MAX_EVENTS` was not provided, it failed with a confusing error message. Thanks to Matei Budiu for reporting this. Signed-off-by: Ben Pfaff <blp@feldera.com>
1 parent 5f7e9f3 commit fe811b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmark/feldera-sql/benchmarks/tiktok/generate.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ BASEDIR="$(pwd)" # get the current directory
22
cd "$(dirname "${BASH_SOURCE[0]}")" # cd to the directory this script is in
33
TIKTOK_GEN="$(realpath ../../../../demo/project_demo12-HopsworksTikTokRecSys/tiktok-gen)"
44
cd $TIKTOK_GEN # cd to the tiktok generator directory
5-
cargo run --release -- --historical --delete-topic-if-exists -I $MAX_EVENTS
5+
cargo run --release -- --historical --delete-topic-if-exists -I ${MAX_EVENTS:-50000000}
66
cd $BASEDIR

0 commit comments

Comments
 (0)