Skip to content

Commit 424bdbd

Browse files
committed
fix
1 parent e40f1c4 commit 424bdbd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
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: 'three_days',
905+
granularity: 'month',
906906
dateRange: ['2017-01-01', '2017-01-10']
907907
},
908908
{

rust/cubesqlplanner/cubesqlplanner/src/planner/planners/multi_stage/member_query_planner.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ impl MultiStageMemberQueryPlanner {
233233
QualifiedColumnName::new(Some(root_alias.clone()), format!("date_from")),
234234
);
235235

236-
//We also insert render reference for the base dimension of time dimension (i.e. without `_granularit` prefix to let other time dimensions make date_tranc)
236+
//We also insert render reference for the base dimension of time dimension (i.e. without `_granularity` prefix to let other time dimensions make date_tranc)
237237
render_references.insert(
238238
rolling_window_desc
239239
.time_dimension

0 commit comments

Comments
 (0)