From 8e0624626d0f3b5f680581ceefd8464fe0417e80 Mon Sep 17 00:00:00 2001 From: Jeremy Cohen Date: Wed, 6 Jan 2021 19:49:38 +0100 Subject: [PATCH] Add full-refresh step for insert_by_period --- run_test.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/run_test.sh b/run_test.sh index 85b7f3ad..80089ebf 100755 --- a/run_test.sh +++ b/run_test.sh @@ -24,5 +24,8 @@ if [[ ! -z $3 ]]; then _seeds="--select $3 --full-refresh"; fi dbt deps --target $1 dbt seed --target $1 $_seeds +if [ $1 == 'redshift' ]; then + dbt run -x -m test_insert_by_period --full-refresh --target redshift +fi dbt run -x --target $1 $_models dbt test -x --target $1 $_models