diff --git a/bin/assemble.sh b/bin/assemble.sh index e670353..178a8d7 100755 --- a/bin/assemble.sh +++ b/bin/assemble.sh @@ -164,7 +164,7 @@ echo "Dataset flattened files created" # Fetch previous expectations from S3, to retain historic results on days expectations are skipped if [ -n "$COLLECTION_DATASET_BUCKET_NAME" ]; then echo "Fetching previous expectation results from S3..." - aws s3 sync s3://${COLLECTION_DATASET_BUCKET_NAME}/${OUTPUT_LOG_DIR}expectation/ ${OUTPUT_LOG_DIR}expectation/ --no-progress + aws s3 sync s3://${COLLECTION_DATASET_BUCKET_NAME}/${OUTPUT_LOG_DIR}expectation/dataset=${DATASET_NAME}/ ${OUTPUT_LOG_DIR}expectation/dataset=${DATASET_NAME}/ --no-progress fi