Skip to content

Commit ce0876b

Browse files
authored
Merge branch 'trunk' into peasee/260219-validate-checkpoint-results
2 parents c820994 + 1e84c9e commit ce0876b

44 files changed

Lines changed: 412 additions & 11646 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/data_generation_run.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,14 @@ on:
3434
required: false
3535
default: false
3636
type: boolean
37+
num_steps:
38+
required: false
39+
default: '25'
40+
type: string
41+
checkpoint_interval_steps:
42+
required: false
43+
default: '100'
44+
type: string
3745
runner_type:
3846
required: false
3947
default: 'ubuntu-latest'
@@ -88,6 +96,16 @@ on:
8896
required: false
8997
default: false
9098
type: boolean
99+
num_steps:
100+
description: 'Number of data generation steps (partitions for TPC-H dbgen)'
101+
required: false
102+
default: '5'
103+
type: string
104+
checkpoint_interval_steps:
105+
description: 'Every N steps to take a checkpoint'
106+
required: false
107+
default: '3'
108+
type: string
91109

92110
jobs:
93111
run-data-generation:
@@ -130,6 +148,7 @@ jobs:
130148
MAX_CONCURRENCY: ${{ inputs.max_concurrency || github.event.inputs.max_concurrency || '8' }}
131149
REGION: ${{ inputs.region || github.event.inputs.region || 'us-east-1' }}
132150
SKIP_INITIAL: ${{ inputs.skip_initial || github.event.inputs.skip_initial || false }}
151+
NUM_STEPS: ${{ inputs.num_steps || github.event.inputs.num_steps || '25' }}
133152
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
134153
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
135154
RUST_LOG: info
@@ -142,6 +161,7 @@ jobs:
142161
ARGS="${ARGS} --prefix ${PREFIX}"
143162
ARGS="${ARGS} --max-concurrency ${MAX_CONCURRENCY}"
144163
ARGS="${ARGS} --region ${REGION}"
164+
ARGS="${ARGS} --num-steps ${NUM_STEPS}"
145165
146166
if [ "${SKIP_INITIAL}" = "true" ]; then
147167
ARGS="${ARGS} --skip-initial"
@@ -173,6 +193,7 @@ jobs:
173193
BUCKET: ${{ inputs.bucket || github.event.inputs.bucket }}
174194
PREFIX: ${{ inputs.prefix || github.event.inputs.prefix || 'data-gen' }}
175195
REGION: ${{ inputs.region || github.event.inputs.region || 'us-east-1' }}
196+
CHECKPOINT_INTERVAL_STEPS: ${{ inputs.checkpoint_interval_steps || github.event.inputs.checkpoint_interval_steps || '100' }}
176197
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
177198
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
178199
RUST_LOG: info
@@ -188,5 +209,7 @@ jobs:
188209
ARGS="${ARGS} --region ${REGION}"
189210
fi
190211
212+
ARGS="${ARGS} --checkpoint-interval-steps ${CHECKPOINT_INTERVAL_STEPS}"
213+
191214
echo "Running: checkpointer ${ARGS}"
192215
~/.spice/bin/checkpointer ${ARGS}

0 commit comments

Comments
 (0)