Skip to content

Commit 74a4afc

Browse files
committed
fix
1 parent 8538a47 commit 74a4afc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/cubejs-schema-compiler/test/integration/postgres/sql-generation.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -902,7 +902,7 @@ SELECT 1 AS revenue, cast('2024-01-01' AS timestamp) as time UNION ALL
902902
timeDimensions: [
903903
{
904904
dimension: 'visitors.created_at',
905-
granularity: 'month',
905+
granularity: 'three_days',
906906
dateRange: ['2017-01-01', '2017-01-10']
907907
},
908908
{
@@ -1095,7 +1095,7 @@ SELECT 1 AS revenue, cast('2024-01-01' AS timestamp) as time UNION ALL
10951095
{ visitors__created_at_day: '2017-01-10T00:00:00.000Z', visitors__count_rolling: null }
10961096
]));
10971097

1098-
if (!getEnv('nativeSqlPlanner')) {
1098+
if (getEnv('nativeSqlPlanner')) {
10991099
it('rolling count without date range', async () => {
11001100
await runQueryTest({
11011101
measures: [

0 commit comments

Comments
 (0)