Skip to content

Commit

Permalink
Fix a bug where the RESULT_BUCKET env var wasn't used correctly. (#1010)
Browse files Browse the repository at this point in the history
Signed-off-by: Caleb Brown <[email protected]>
  • Loading branch information
calebbrown authored Feb 7, 2024
1 parent 8f1905e commit b676132
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/bq_load.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ fi

union=""

for bucket_prefix in `gsutil ls "$BUCKET"`; do
prefix=`echo "$bucket_prefix" | sed "s|$BUCKET/\([^\]*\)/|\1|g"`
for bucket_prefix in `gsutil ls "$RESULT_BUCKET"`; do
prefix=`echo "$bucket_prefix" | sed "s|$RESULT_BUCKET/\([^\]*\)/|\1|g"`
clean_prefix=`echo "$prefix" | tr -c -d "[:alnum:]"`
table_name="$LOAD_TABLE_PREFIX$clean_prefix"

Expand Down

0 comments on commit b676132

Please sign in to comment.