diff --git a/.github/workflows/dbt-parse.yml b/.github/workflows/dbt-parse.yml index 6e4f98c..df03e6f 100644 --- a/.github/workflows/dbt-parse.yml +++ b/.github/workflows/dbt-parse.yml @@ -39,6 +39,6 @@ jobs: PG_DBNAME: postgres run: | cp profiles.yml.example profiles.yml - sed -i 's/dev__borough/dev_ci_borough/' profiles.yml + sed -i 's/dev_/dev_ci/' profiles.yml dbt deps dbt parse diff --git a/README.md b/README.md index 31ca7ed..a18f257 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ The project is already initialised, so Task 1 is just pointing it at the databas ```bash cp profiles.yml.example profiles.yml -# edit profiles.yml: replace so schema reads dev__borough +# edit profiles.yml: replace so schema reads dev_ ``` 2. Export the connection env vars (values are in the class vault; ask your mentor if you are missing them): diff --git a/profiles.yml.example b/profiles.yml.example index 226a9e2..82c6ae0 100644 --- a/profiles.yml.example +++ b/profiles.yml.example @@ -8,7 +8,7 @@ nyc_taxi_borough_daily: user: "{{ env_var('PG_USER') }}" password: "{{ env_var('PG_PASSWORD') }}" dbname: "{{ env_var('PG_DBNAME', 'postgres') }}" - schema: "dev__borough" # TODO: replace with your first name + schema: "dev_" # TODO: replace with your first name (the schema you already own) threads: 1 # Copy this file to profiles.yml (same directory), fill in your name, and ensure diff --git a/reports/answers.md b/reports/answers.md index 822cae4..8fb8cf2 100644 --- a/reports/answers.md +++ b/reports/answers.md @@ -1,8 +1,8 @@ # Business Question Answers -Queries run against `dev__borough.fct_daily_borough_stats`. +Queries run against `dev_.fct_daily_borough_stats`. -## Q1: Highest total `total_fare` across all of January 2024 +## Q1: Highest total `total_fare` across the whole loaded dataset **SQL:**