Open nofalx opened 6 months ago
Thanks for the script, it reproduces for me. The error is related to the NULL value of the end_offset
, so probably as a workaround you can set it to something far in the future but not null.
@fabriziomello should the end point calculation follow the same logic as cagg_get_time_min
? Currently the null end point is returned as max time and not +infinity even for variable-bucket caggs, so the calculations in ts_compute_inscribed_bucketed_refresh_window_variable
fail.
Hi @akuzm thank you for the reply. I believe in the end_offset
we can only specify an interval and so this seemed to work with me '-10 years'
and refreshed the data correctly from today post creating the job.
However I believe we should add a warning or enhance the code related to handling cases with NULL as we had lots of issue with it from back in time
What type of bug is this?
Incorrect result, Unexpected error
What subsystems and features are affected?
Continuous aggregate
What happened?
I have a number of Continuous aggregates that uses hourly buckets
I noticed that i stopped seeing the new results after recreating the hypertable. After hours of debugging i pinned down that the hourly buckets dont refresh when used with timezone
TimescaleDB version affected
2.14.2 and 2.15.0
PostgreSQL version used
15.6
What operating system did you use?
Arch Linux and Ubuntu Linux
What installation method did you use?
Deb/Apt
What platform did you run on?
On prem/Self-hosted
Relevant log output and stack trace
How can we reproduce the bug?