You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using CubeStore with GCS bucket, with BigQuery data. Given the below two cube definitions (cubes joined together), rollup pre-aggregations byUpdatedAtDate work correctly. However when trying to execute a query that would use the rollupJoin pre-aggregation StatsAndAccountsByUpdatedAtDate, the following error is returned:
_Error: Internal: Error during planning: Can't find index to join table dev_pre_aggregations.user_statistics_by_updated_at_date_up3sg3sy_wkm2vuiu_1gd1jl9 on accounts___id. Consider creating index: CREATE INDEX user_statistics_by_updated_at_date_up3sg3sy_wkm2vuiu_1gd1jl9_accounts___id ON dev_pre_aggregations.user_statistics_by_updated_at_dateup3sg3sy_wkm2vuiu_1gd1jl9 (accounts___id)
It is unclear what index is missing. Seems like we need an accounts._id index on the user_statistics preaggregation? (how?)
Or we misunderstood something.
We are using CubeStore with GCS bucket, with BigQuery data. Given the below two cube definitions (cubes joined together), rollup pre-aggregations
byUpdatedAtDate
work correctly. However when trying to execute a query that would use the rollupJoin pre-aggregationStatsAndAccountsByUpdatedAtDate
, the following error is returned:_Error: Internal: Error during planning: Can't find index to join table dev_pre_aggregations.user_statistics_by_updated_at_date_up3sg3sy_wkm2vuiu_1gd1jl9 on accounts___id. Consider creating index: CREATE INDEX user_statistics_by_updated_at_date_up3sg3sy_wkm2vuiu_1gd1jl9_accounts___id ON dev_pre_aggregations.user_statistics_by_updated_at_dateup3sg3sy_wkm2vuiu_1gd1jl9 (accounts___id)
It is unclear what index is missing. Seems like we need an accounts._id index on the user_statistics preaggregation? (how?)
Or we misunderstood something.
To Reproduce
See cube definitions below:
Query to run:
Version:
server-core 8.27.35
bigquery-driver 8.27.35
cubestore 8.27.35
The text was updated successfully, but these errors were encountered: