Last active
January 25, 2023 14:11
-
-
Save spenes/62896493986cf062deb849815f7ef217 to your computer and use it in GitHub Desktop.
Snowflake Loader 5.3.0 bug recovery
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Usage: resend-shredding-complete.sh $run_folders_file $sqs_queue_url | |
run_folders_file=$1 | |
sqs_queue_url=$2 | |
for run_folder_path in $(cat $run_folders_file); | |
do | |
msg="$run_folder_path"shredding_complete.json | |
aws s3 cp $msg . | |
aws sqs send-message --queue-url $sqs_queue_url --message-group-id loader --message-body $(cat shredding_complete.json) | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment