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
Cube server type: self-host via docker
Cube version: 1.1.18
Cubestore version: 1.1.18
We found a missing record in the pre-aggregation rollups, that record created at 2025-03-02 10pm (Australia/Sydney). Daily rollup runs at 6.30am (Australia/Sydney).
Details
looking at all our rollups for March, we have 5 of them corresponding to the 5 timezones, but hard to figure it out which one represents which timezone, any clue ?
Among these 5, only 1 of them , i.e., Australia/Perth partition has the missing management fee transaction data ($35). but it also means it has 1 missing transaction ($18) that happens at 11pm, 28th, Feb (Australia/Perth)
All other 4 partitions have no such transaction, but does have the $18 that happens 2025-02-28T15:01:29.343Z (UTC), as it is legitimately 1st of March in their timezone.
This is aligned with the query we emitted via API.
Looking at the actual time of the $35, it is 2025-03-02T11:07:17.596Z (UTC) which is about 10pm at 02/03 in Australia/Sydney timezone, so it should be captured in other time partitions, as we did the daily aggregation 03/03 at 6.30am Australia/Sydney timezone, you can see the build_range_end are all about 7am 03/03, so it should cover the missing transactions.
Related Cube.js schema
...
measures: {incomeAmount: {sql: `amount`,type: `sum`,},feeIncomeAmount: {type: `sum`,title: `Income excluding any Rent`,sql: `amount`,filters: [{sql: `${CUBE.transactionTaxCategoryId} != 'RENT'`,},],},count: {type: `count`,},minDate: {sql: `created_at::TIMESTAMP`,type: `min`,},managementFeeIncomeAmount: {type: `sum`,title: `Total Management Fee Income`,sql: `amount`,filters: [{sql: `${CUBE.transactionTaxCategoryId} = 'MANAGEMENT_FEES'`,},],description: "Management fee income also known as commission fee or commission rate income, "+"it is a service fee that landlord/owners/investor charged on top of the rent collected from tenants"},},dimensions: {eventId: {sql: `event_id`,type: `string`,primaryKey: true,},accountId: {sql: `account_id`,type: `string`,primaryKey: true,shown: true,},accountBookType: {sql: `book`,type: `string`,},createdAt: {sql: `created_at::TIMESTAMP`,type: `time`,},accountOwner: {sql: `account_owner_reference`,type: `string`,},generalLedgerManagement: {sql: `relating_to_management`,type: `string`,},transactionTaxCategoryId: {sql: `tax_category`,type: `string`,},},
Hi @kevinleeTCA!
Yesterday, v1.2.18 was released with some fixes related to pre-aggregations refresh flows. Please try it in your env and examine - does it fix anything? Try removing timezone-specific queries in the build range start/end. Also, pay attention to updated partitions - unexpected partitions should not be updated too...
Problem
We have an incremental preAggregation rollup, updated on daily basis, and partition by month
We also have the 5 timezones that we would like to support for our customer' query:
our configuration:
We found a missing record in the pre-aggregation rollups, that record created at 2025-03-02 10pm (
Australia/Sydney
). Daily rollup runs at 6.30am (Australia/Sydney
).Details
build_range_end
are all about 7am 03/03, so it should cover the missing transactions.Related Cube.js schema
Related Cube.js query
params
The text was updated successfully, but these errors were encountered: