Skip to content

Comments

Tests for Caggs with variable-width buckets#9310

Open
melihmutlu wants to merge 1 commit intotimescale:mainfrom
melihmutlu:varwidth_test
Open

Tests for Caggs with variable-width buckets#9310
melihmutlu wants to merge 1 commit intotimescale:mainfrom
melihmutlu:varwidth_test

Conversation

@melihmutlu
Copy link
Member

Add more tests for variable-width bucket cases in continuous aggregates. Tests cover monthly/yearly cases and DST transitions.

Add more tests for variable-width bucket cases in continuous aggregates.
Tests cover monthly/yearly cases and DST transitions.
@melihmutlu melihmutlu marked this pull request as ready for review February 25, 2026 13:31
INSERT INTO monthly_data VALUES ('2024-02-15 12:00:00', 1, 999.0);
-- Refresh only February
CALL refresh_continuous_aggregate('cagg_monthly', '2024-02-01 00:00:00', '2024-03-01 00:00:00');
SELECT bucket, cnt FROM cagg_monthly WHERE bucket = '2024-02-01';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be good to check the invalidations before refresh.

@fabriziomello
Copy link
Contributor

One advice, don't forget to also test hierarchical CAGGs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants