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 {
242
242
false
243
243
}
244
244
} ) {
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 ( ) ) ) ;
247
247
}
248
248
}
249
249
None
Original file line number Diff line number Diff line change @@ -574,12 +574,7 @@ impl SymbolFactory for MeasureSymbolFactory {
574
574
let interval = match & shift_ref. interval {
575
575
Some ( raw) => {
576
576
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" {
583
578
iv = -iv;
584
579
}
585
580
You can’t perform that action at this time.
0 commit comments