We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc1a1e6 commit 028d602Copy full SHA for 028d602
rust/cubesqlplanner/cubesqlplanner/src/planner/sql_evaluator/symbols/dimension_symbol.rs
@@ -386,7 +386,7 @@ impl SymbolFactory for DimensionSymbolFactory {
386
387
// If the cube is a calendar, we need to find the primary key member
388
// so that we can use it for time shifts processing.
389
- let time_shift_pk = if is_calendar {
+ let time_shift_pk = if is_calendar && !time_shift.is_empty() {
390
let pk_members = cube_evaluator
391
.static_data()
392
.primary_keys
0 commit comments