Skip to content

Commit 37e2479

Browse files
committed
fix
1 parent 62a2dc4 commit 37e2479

File tree

1 file changed

+4
-4
lines changed
  • rust/cubesqlplanner/cubesqlplanner/src/physical_plan_builder

1 file changed

+4
-4
lines changed

rust/cubesqlplanner/cubesqlplanner/src/physical_plan_builder/builder.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -872,13 +872,13 @@ impl PhysicalPlanBuilder {
872872
}
873873
};
874874

875-
let time_seira = TimeSeries::new(
875+
let time_series = TimeSeries::new(
876876
self.query_tools.clone(),
877877
time_dimension.full_name(),
878878
ts_date_range,
879879
granularity_obj,
880880
);
881-
let query_plan = Rc::new(QueryPlan::TimeSeries(Rc::new(time_seira)));
881+
let query_plan = Rc::new(QueryPlan::TimeSeries(Rc::new(time_series)));
882882
Ok(query_plan)
883883
}
884884

@@ -973,13 +973,13 @@ impl PhysicalPlanBuilder {
973973
let mut render_references = HashMap::new();
974974
let mut select_builder = SelectBuilder::new(from.clone());
975975

976-
//We insert render reference for main time dimension (with the some granularity as in time series to avoid unnessesary date_tranc)
976+
//We insert render reference for main time dimension (with the some granularity as in time series to avoid unnecessary date_tranc)
977977
render_references.insert(
978978
time_dimension.full_name(),
979979
QualifiedColumnName::new(Some(root_alias.clone()), format!("date_from")),
980980
);
981981

982-
//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)
982+
//We also insert render reference for the base dimension of the time dimension (i.e. without `_granularity` prefix to let other time dimensions make date_tranc)
983983
render_references.insert(
984984
time_dimension
985985
.as_time_dimension()?

0 commit comments

Comments
 (0)