Skip to content

Commit 8a21e1f

Browse files
committed
changes to fix version in docker compose
1 parent c22aead commit 8a21e1f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

dbt-erd/docker-compose.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
version: '3.8'
21

32
services:
43
dbt:

dbt-erd/models/dw/dim/dim_date.sql

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@
44
) }}
55

66
WITH date_spine AS (
7-
{{ dbt_utils.date_spine(
8-
datepart="day",
9-
start_date="cast('1900-01-01' as date)",
10-
end_date="cast('2100-12-31' as date)"
11-
) }}
7+
SELECT
8+
CAST(d AS DATE) AS date_day
9+
FROM (
10+
SELECT generate_series::DATE AS d
11+
FROM generate_series(DATE '1900-01-01', DATE '2100-12-31', INTERVAL '1 day')
12+
)
1213
),
1314

1415
date_attributes AS (

0 commit comments

Comments
 (0)