Closed Pierre-Gilles closed 3 years ago
Ok, and where do you store them at the end?
I store state after downsamling in new table t_device_feature_state_light
Ok! And how often do you build this "cached" version ?
every day
what happens when it's the first day?
i add a column last_downsampling on feature object
the first time of job execution the donwsampling start on all data in feature_state and the second time just on last day of last_downsampling (=last created_at of feature_state treat) in feature, so if some feature state arrive in late (for example if data come from third party platform and this platform is down for a couple of days) the downsampling treat all data from last_downsampling date (so maybe more than 1 day)
Description
Be able to display a chart on the dashboard. Ex: temperature of last month
Specs