New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove unused materializer code and completed threshold #2382
Conversation
cdd08d9
to
df62925
Compare
This change filters materialized hypertables from the hypertables view, similar to how internal compression hypertables are filtered. Materialized hypertables are internal objects created as a side effect of creating a continuous aggregate, and these internal hypertables are still listed in the continuous_aggregates view. Fixes timescale#2382
ab124e2
to
7c72a39
Compare
This change filters materialized hypertables from the hypertables view, similar to how internal compression hypertables are filtered. Materialized hypertables are internal objects created as a side effect of creating a continuous aggregate, and these internal hypertables are still listed in the continuous_aggregates view. Fixes timescale#2382
This change filters materialized hypertables from the hypertables view, similar to how internal compression hypertables are filtered. Materialized hypertables are internal objects created as a side effect of creating a continuous aggregate, and these internal hypertables are still listed in the continuous_aggregates view. Fixes timescale#2382
9ba5afa
to
1daffc5
Compare
Codecov Report
@@ Coverage Diff @@
## master #2382 +/- ##
==========================================
+ Coverage 88.91% 90.08% +1.16%
==========================================
Files 212 213 +1
Lines 34788 34299 -489
==========================================
- Hits 30932 30898 -34
+ Misses 3856 3401 -455
Continue to review full report at Codecov.
|
1daffc5
to
1452f3e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, looked through and did not find any issues
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Can you add to commit that it is also part of #2395?
I don't understand why you cannot reuse rel_name
and need to obtain again in few places to report in errors. See my comments in the code for exact place.
6b6a425
to
2bf4ac3
Compare
This change cleans up and removes duplicate code for internal lookups of continuous aggregates. A number of related error messages have also been cleaned up and made conformant with the error style guide.
The new refresh functionality for continuous aggregates replaces the old materializer, which means some code is no longer used and should be removed. Closes timescale#2395
The completed threshold in the TimescaleDB catalog is no longer used by the refactored continuous aggregates, so it is removed. Fixes timescale#2178
2bf4ac3
to
6251a39
Compare
old materializer, which means some code is no longer used and should
be removed.
by the refactored continuous aggregates, so it is removed.
of continuous aggregates. A number of related error messages have also
been cleaned up and made conformant with the error style guide.
Fixes #2178
Closes #2395