Skip to content

Commit 06ac550

Browse files
committed
fix postgres drivers tests related to custom granularities
1 parent 1ae0034 commit 06ac550

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

packages/cubejs-testing-drivers/fixtures/_schemas.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,13 @@
9393
"granularities": [
9494
{
9595
"name": "half_year",
96-
"interval": "6 months"
96+
"interval": "6 months",
97+
"origin": "2024-01-01"
9798
},
9899
{
99100
"name": "half_year_by_1st_april",
100101
"interval": "6 months",
101-
"offset": "3 months"
102+
"origin": "2024-04-01"
102103
},
103104
{
104105
"name": "two_mo_by_feb",
@@ -119,12 +120,13 @@
119120
"granularities": [
120121
{
121122
"name": "half_year",
122-
"interval": "6 months"
123+
"interval": "6 months",
124+
"origin": "2024-01-01"
123125
},
124126
{
125127
"name": "half_year_by_1st_april",
126128
"interval": "6 months",
127-
"offset": "3 months"
129+
"origin": "2024-04-01"
128130
},
129131
{
130132
"name": "two_mo_by_feb",

0 commit comments

Comments
 (0)