File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
rust/cubesqlplanner/cubesqlplanner/src/planner Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 11use super :: { CommonUtils , QueryPlanner } ;
2- use crate :: logical_plan:: DimensionSubQuery ;
2+ use crate :: logical_plan:: { pretty_print_rc , DimensionSubQuery } ;
33use crate :: plan:: { FilterItem , QualifiedColumnName } ;
44use crate :: planner:: query_tools:: QueryTools ;
55use crate :: planner:: sql_evaluator:: collectors:: collect_sub_query_dimensions;
@@ -131,6 +131,7 @@ impl DimensionSubqueryPlanner {
131131 subquery_dimension,
132132 measure_for_subquery_dimension : measure,
133133 } ) ;
134+ pretty_print_rc ( & result) ;
134135 Ok ( result)
135136 }
136137
Original file line number Diff line number Diff line change @@ -732,10 +732,10 @@ impl QueryProperties {
732732 members. extend ( self . time_dimensions . iter ( ) . cloned ( ) ) ;
733733 }
734734 if include_dimensions {
735- members. extend ( self . time_dimensions . iter ( ) . cloned ( ) ) ;
735+ members. extend ( self . dimensions . iter ( ) . cloned ( ) ) ;
736736 }
737737 if include_measures {
738- members. extend ( self . time_dimensions . iter ( ) . cloned ( ) ) ;
738+ members. extend ( self . measures . iter ( ) . cloned ( ) ) ;
739739 }
740740 if include_filters {
741741 self . fill_all_filter_symbols ( & mut members) ;
You can’t perform that action at this time.
0 commit comments