We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4385679 commit 1c6f677Copy full SHA for 1c6f677
models/marts/dim_dates.sql
@@ -1,14 +1,5 @@
1
-{% set min_date_query %}
2
- select min(from_date) from {{ ref('stg_fluvius') }}
3
-{% endset %}
4
-{% set max_date_query %}
5
- select max(to_date) from {{ ref('stg_fluvius') }}
6
7
-{% set min_date_val = dbt_utils.get_single_value(min_date_query) %}
8
-{% set max_date_val = dbt_utils.get_single_value(max_date_query) %}
9
-
10
with date_dim as (
11
- {{ dbt_date.get_date_dimension(min_date_val, max_date_val) }}
+ {{ dbt_date.get_date_dimension('2015-01-01', '2030-01-01') }}
12
),
13
14
holidays as (
0 commit comments