Skip to content

Commit

Permalink
Remove unused vars
Browse files Browse the repository at this point in the history
  • Loading branch information
clrcrl committed Apr 16, 2020
1 parent e778e9f commit 783bdfc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 16 deletions.
7 changes: 0 additions & 7 deletions dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,3 @@ version: '0.0.1'
profile: 'default'

require-dbt-version: [">=0.16.0", "<0.17.0"]

models:
netsuite:
vars:
schema_name: "netsuite"
netsuite_schema: "netsuite"

17 changes: 8 additions & 9 deletions models/src_netsuite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ version: 2

sources:
- name: netsuite
schema: "{{ var('netsuite_schema', 'netsuite') }}" # you will need to customize if your schema name is not netsuite
database: "{{ var('netsuite_database', target.database) }}"
schema: netsuite # you will need to customize if your schema name is not netsuite
loader: fivetran
loaded_at_field: _fivetran_synced
freshness:
Expand All @@ -19,10 +18,10 @@ sources:
# column_name: {{ dbt_utils.concat('accounting_period_id') }}
columns:
- name: accounting_period_id
tests:
tests:
- not_null
- name: fiscal_calendar_id
tests:
tests:
- not_null

- name: accounts
Expand All @@ -33,7 +32,7 @@ sources:
tests:
- unique
- not_null

- name: accounting_books
description: Table detailing all accounting books set up in Netsuite
freshness: null
Expand Down Expand Up @@ -81,15 +80,15 @@ sources:
tests:
- unique
- not_null

- name: classes
description: Table detailing all classes set up in Netsuite
freshness: null
columns:
- name: class_id
tests:
- unique
- not_null
- not_null

- name: departments
description: Table detailing all departments set up in Netsuite
Expand Down Expand Up @@ -162,10 +161,10 @@ sources:
# column_name: {{ dbt_utils.concat('transaction_line_id') }}
columns:
- name: transaction_id
tests:
tests:
- not_null
- name: transaction_line_id
tests:
tests:
- not_null

- name: transactions
Expand Down

0 comments on commit 783bdfc

Please sign in to comment.