Rollup join resolving value of timestamp works fine
Rollup join resolving day or year, etc of timestamp is broken with misleading error msg.
To join across data sources use rollupJoin with Cube Store. If rollupJoin is defined, this error indicates it doesn't match the query. Please use Rollup Designer to verify it's definition. Found data sources: propertyManagement, relation
this error msg is really confusing as it does not help with debug at all, we encountered a lot such error msgs when using rollup join, but the root causes have nothing to do with the rollup definition mentioned in the msg.
Query single cube esolving day or year, etc of timestamp is fine.
Logical Plan
Search for Can't rewrite plan log message.
Version:
cube: 0.36.2
Additional context
We have 2 cubes (from different data source, postgres database), and we have 2 pre-aggregations rollups defined respectively in each cube. We have a rollupJoin to join data between these 2 models.
The problematic managementStartDate has date type from postgres schema
@kevinleeTCA I guess it's because managementStartDate referred as a dimension in the rollup definition instead of time_dimension. When it's dimension it's raw value instead of date trunc value you expect.
Failed SQL
Rollup join resolving
value
oftimestamp
works fineRollup join resolving
day
oryear
, etc oftimestamp
is broken with misleading error msg.this error msg is really confusing as it does not help with debug at all, we encountered a lot such error msgs when using rollup join, but the root causes have nothing to do with the rollup definition mentioned in the msg.
day
oryear
, etc oftimestamp
is fine.Logical Plan Search for
Can't rewrite plan
log message.Version: cube: 0.36.2
Additional context We have 2 cubes (from different data source, postgres database), and we have 2 pre-aggregations
rollups
defined respectively in each cube. We have arollupJoin
to join data between these 2 models.The problematic
managementStartDate
hasdate
type from postgres schemaPM_Teams
CubeAMGroupLinks
cube