mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-14 09:37:00 +08:00
When querying a realtime Continuous Aggregate using window functions the new planner optimization to constify the `cagg_watermark` function call is not working because we're checking for window function usage on the query tree but actually this is a current limitation when creating a new Continuous Aggregate, but users can use window functions when querying it. Fixed it by removing the check for `query->hasWindowFuncs` to prevent the process of constification of the `cagg_watermak` function call. Fixes #6722
3 lines
193 B
Plaintext
3 lines
193 B
Plaintext
Fixes: #6726 Fix constify cagg_watermark using window function when querying a CAgg
|
|
Thanks: @rovo89 For reporting constify cagg_watermark not working using window function when querying a CAgg
|