File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed
rust/cubesqlplanner/cubesqlplanner/src/planner/sql_evaluator/symbols Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -242,8 +242,8 @@ impl DimensionSymbol {
242242 false
243243 }
244244 } ) {
245- if let Some ( pk) = & self . time_shift_pk {
246- return Some ( ( pk. full_name ( ) , ts. clone ( ) ) ) ;
245+ if let Some ( pk) = & self . time_shift_pk_full_name ( ) {
246+ return Some ( ( pk. clone ( ) , ts. clone ( ) ) ) ;
247247 }
248248 }
249249 None
Original file line number Diff line number Diff line change @@ -574,12 +574,7 @@ impl SymbolFactory for MeasureSymbolFactory {
574574 let interval = match & shift_ref. interval {
575575 Some ( raw) => {
576576 let mut iv = raw. parse :: < SqlInterval > ( ) ?;
577- if shift_ref
578- . shift_type
579- . as_deref ( )
580- . unwrap_or ( "prior" )
581- == "next"
582- {
577+ if shift_ref. shift_type . as_deref ( ) . unwrap_or ( "prior" ) == "next" {
583578 iv = -iv;
584579 }
585580
You can’t perform that action at this time.
0 commit comments