diff --git a/.github/workflows/dbt-pr-ci-job.yml b/.github/workflows/dbt-pr-ci-job.yml index 704a9cb..84cdc1f 100644 --- a/.github/workflows/dbt-pr-ci-job.yml +++ b/.github/workflows/dbt-pr-ci-job.yml @@ -37,7 +37,6 @@ jobs: SNOWFLAKE_USER: ${{ secrets.SNOWFLAKE_USER }} SNOWFLAKE_PASSWORD: ${{ secrets.SNOWFLAKE_PASSWORD }} SNOWFLAKE_ROLE: ${{ secrets.SNOWFLAKE_ROLE }} - SNOWFLAKE_SCHEMA: ${{ secrets.SNOWFLAKE_SCHEMA }} - name: Lint models run: "sqlfluff lint models" \ No newline at end of file diff --git a/models/marts/core/fct_orders.sql b/models/marts/core/fct_orders.sql index ca0e870..83dd99d 100644 --- a/models/marts/core/fct_orders.sql +++ b/models/marts/core/fct_orders.sql @@ -6,6 +6,7 @@ with payments as ( orders as ( select * from {{ ref('stg_orders')}} + where order_date >= '2018-03-01' and order_date <= '2018-03-31' ),