...
If the data is not aggregated at a daily level, an event could also be shared at a week
, month
, year
level as well by just defining a startDate
and endDate
.
Code Block | ||
---|---|---|
| ||
{ "startDate": "2019-01-01", "endDate": "2019-02-01", "grade": 1, "school_id": 901, "count": 23 } |
...
If you have a requirement to increase this limit, please reach out to us. The lowest bucket_size
that cQube would support would be a day.
...
Impact on Datasets
cQube Datasets are optimized for query based on dimensions. Indexes are defined as part of the schema.
Impact on Input Data
The input data is validated against the dimension data before being persisted.
The event schema should always reference a dimension for this to work.
...
How the dataset is defined
How it is liked linked to dimensions
Which fields needs need to be cached/indexed to be queried faster
...
counter
(def) - allows for aggregations assum
,count
,percentage
,min
,max
,avg
,percentile
Future instruments to be implemented -
meter
,gauge
,histogram
.
Assumptions
Since it’s not a frequent use case, Dimension updates and deletion are not supported. In case this is needed they can just create a new dimension, update the mapping to datasets and refresh the datasets.
Event Sourcing is used extensively in the entire architecture, which allows for
Replaying events