Skip to content

Commit d0cf5d9

Browse files
authored
Fix docker image by referring to the correct new driver commands (#77)
## Summary Switches to create-summary-dataset, and provides conf-path to summarize-and-upload ## Checklist - [ ] Added Unit Tests - [ ] Covered by existing CI - [ ] Integration tested - [ ] Documentation update <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Updated command for creating summary datasets to improve clarity and functionality. - Enhanced configuration handling for summary data uploads. - **Bug Fixes** - Maintained consistent error handling to ensure reliability during execution. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent fc7f408 commit d0cf5d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker-init/start.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ echo "Metadata load completed successfully!"
2222

2323
# Initialize DynamoDB
2424
echo "Initializing DynamoDB Table .."
25-
if ! output=$(java -cp $SPARK_JAR:$CLASSPATH ai.chronon.spark.Driver create-stats-table \
25+
if ! output=$(java -cp $SPARK_JAR:$CLASSPATH ai.chronon.spark.Driver create-summary-dataset \
2626
--online-jar=$CLOUD_AWS_JAR \
2727
--online-class=$ONLINE_CLASS 2>&1); then
2828
echo "Error: Failed to bring up DynamoDB table" >&2
@@ -39,7 +39,7 @@ if ! java --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun
3939
--online-jar=$CLOUD_AWS_JAR \
4040
--online-class=$ONLINE_CLASS \
4141
--parquet-path="$(pwd)/drift_data" \
42-
--table-name=drift_statistics \
42+
--conf-path=/chronon_sample/production/ \
4343
--time-column=transaction_time; then
4444
echo "Error: Failed to load summary data into DynamoDB" >&2
4545
exit 1

0 commit comments

Comments
 (0)