Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

Commit

Permalink
upgrade project and fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Julia Schottenstein committed Sep 6, 2022
1 parent 36a8f44 commit 44293b5
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 10 deletions.
6 changes: 3 additions & 3 deletions dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@
# and underscores. A good package name should reflect your organization's
# name or the intended use of these models
name: 'my_new_project'
version: '1.0.0'
config-version: 2
version: '0.1'

# This setting configures which "profile" dbt uses for this project.
profile: 'default'

# These configurations specify where dbt should look for different types of files.
# The `source-paths` config, for example, states that models in this project can be
# found in the "models/" directory. You probably won't need to change these!
source-paths: ["models"]
model-paths: ["models"]
seed-paths: ["seeds"]
analysis-paths: ["analysis"]
test-paths: ["tests"]
data-paths: ["data"]
macro-paths: ["macros"]
snapshot-paths: ["snapshots"]

Expand Down
13 changes: 13 additions & 0 deletions models/example/combined.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
with julia as (
select * from {{ ref('julia_demo_model') }}
),
demo as (
select * from {{ ref('demo_model') }}
),
combined as (
select demo.id, julia.employees, 3 as random
from demo left join julia
on demo.id = julia.id
)

select * from combined
2 changes: 0 additions & 2 deletions models/example/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ models:
description: "The primary key for this table"
tests:
- unique
- not_null

- name: my_second_dbt_model
description: "A starter dbt model"
Expand All @@ -18,4 +17,3 @@ models:
description: "The primary key for this table"
tests:
- unique
- not_null
5 changes: 0 additions & 5 deletions models/staging/union.sql

This file was deleted.

4 changes: 4 additions & 0 deletions seeds/test.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
country_code,country_name
US,United States
CA,Canada
GB,United Kingdom

0 comments on commit 44293b5

Please sign in to comment.