Skip to content

Commit

Permalink
Additional dbt 0.18 upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
clausherther committed Oct 25, 2020
1 parent 2cb1fb5 commit 43aeaad
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
14 changes: 9 additions & 5 deletions dbt_project.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
name: 'dbt_date'
version: '0.1'
version: '0.2'

config-version: 2

target-path: "target"
clean-targets: ["target", "dbt_modules"]
macro-paths: ["macros"]
log-path: "logs"

require-dbt-version: ">=0.14.0"
profile: dev
require-dbt-version: [">=0.18.0", "<0.19.0"]
profile: integration_tests

quoting:
identifier: false
schema: false

vars:
'dbt_date:time_zone': 'America/Los_Angeles'

models:
vars:
'dbt_date:time_zone': 'America/Los_Angeles'
2 changes: 1 addition & 1 deletion macros/fiscal_date/get_fiscal_year_dates.sql
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% macro get_fiscal_year_dates(dates, year_end_month=12, week_start_day=1, shift_year=1) %}
{{ adapter_macro('dbt_date.get_fiscal_year_dates', dates, year_end_month, week_start_day, shift_year) }}
{{ adapter.dispatch('get_fiscal_year_dates', packages = dbt_date._get_utils_namespaces()) (dates, year_end_month, week_start_day, shift_year) }}
{% endmacro %}

{% macro default__get_fiscal_year_dates(dates, year_end_month, week_start_day, shift_year) %}
Expand Down
2 changes: 1 addition & 1 deletion packages.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
packages:
- package: fishtown-analytics/dbt_utils
version: [">=0.2.0", "<0.3.0"]
version: [">=0.6.0", "<0.7.0"]

0 comments on commit 43aeaad

Please sign in to comment.