Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/dbt-parse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ jobs:
PG_DBNAME: postgres
run: |
cp profiles.yml.example profiles.yml
sed -i 's/dev_<your_name>_borough/dev_ci_borough/' profiles.yml
sed -i 's/dev_<your_name>/dev_ci/' profiles.yml
dbt deps
dbt parse
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <your_name> so schema reads dev_<your_name>_borough
# edit profiles.yml: replace <your_name> so schema reads dev_<your_name>
```

2. Export the connection env vars (values are in the class vault; ask your mentor if you are missing them):
Expand Down
2 changes: 1 addition & 1 deletion profiles.yml.example
Original file line number Diff line number Diff line change
Expand Up @@ -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_<your_name>_borough" # TODO: replace <your_name> with your first name
schema: "dev_<your_name>" # TODO: replace <your_name> 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
Expand Down
4 changes: 2 additions & 2 deletions reports/answers.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Business Question Answers

Queries run against `dev_<your_name>_borough.fct_daily_borough_stats`.
Queries run against `dev_<your_name>.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:**

Expand Down
Loading