diff --git a/.github/workflows/dbt_run.yml b/.github/workflows/dbt_run.yml index afc1d89b4c7..3c3db1b8672 100644 --- a/.github/workflows/dbt_run.yml +++ b/.github/workflows/dbt_run.yml @@ -52,10 +52,10 @@ jobs: run: "./scripts/list_modified_downstream.sh" - name: dbt run initial model(s) - run: "dbt -x run $PROFILE --select state:modified --exclude tag:prod_exclude tag:remove --defer --state . --project-dir ${PROJECT_DIR}" + run: "dbt -x run $PROFILE --select +state:modified --exclude tag:prod_exclude tag:remove --defer --state . --project-dir ${PROJECT_DIR}" - name: dbt test initial model(s) - run: "dbt test $PROFILE --select state:new state:modified --exclude tag:prod_exclude tag:remove --defer --state . --project-dir ${PROJECT_DIR}" + run: "dbt test $PROFILE --select state:new +state:modified --exclude tag:prod_exclude tag:remove --defer --state . --project-dir ${PROJECT_DIR}" - name: Set environment variable for incremental model count run: | @@ -63,8 +63,8 @@ jobs: - name: dbt run incremental model(s) if applicable if: env.INC_MODEL_COUNT > 0 - run: "dbt run $PROFILE --select state:modified,config.materialized:incremental --exclude tag:prod_exclude tag:remove --defer --state . --project-dir ${PROJECT_DIR}" + run: "dbt run $PROFILE --select +state:modified,config.materialized:incremental --exclude tag:prod_exclude tag:remove --defer --state . --project-dir ${PROJECT_DIR}" - name: dbt test incremental model(s) if applicable if: env.INC_MODEL_COUNT > 0 - run: "dbt test $PROFILE --select state:modified,config.materialized:incremental --exclude tag:prod_exclude tag:remove --defer --state . --project-dir ${PROJECT_DIR}" + run: "dbt test $PROFILE --select +state:modified,config.materialized:incremental --exclude tag:prod_exclude tag:remove --defer --state . --project-dir ${PROJECT_DIR}" diff --git a/dbt_subprojects/dex/models/_projects/zeroex/zeroex_native_trades.sql b/dbt_subprojects/dex/models/_projects/zeroex/zeroex_native_trades.sql index 1d7e64b38c2..5ebde9b6d3f 100644 --- a/dbt_subprojects/dex/models/_projects/zeroex/zeroex_native_trades.sql +++ b/dbt_subprojects/dex/models/_projects/zeroex/zeroex_native_trades.sql @@ -15,7 +15,6 @@ ref('zeroex_native_fills') ] %} - SELECT * FROM ( {% for model in zeroex_models %}