diff --git a/scripts/delete_staging_bq.sh b/scripts/delete_staging_bq.sh deleted file mode 100755 index 67b2ef67e9..0000000000 --- a/scripts/delete_staging_bq.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash - -# Project ID -PROJECT_ID="het-infra-test-05" - -# List all datasets -DATASETS=$(bq ls --format=prettyjson --project_id="$PROJECT_ID" | jq -r '.[].datasetReference.datasetId') - -# Iterate over each dataset -for DATASET in $DATASETS; do - echo "Deleting dataset: $DATASET" - bq rm -r -d "$PROJECT_ID:$DATASET" -done - -echo "All datasets deleted from the project."