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
Cleanup public API #2531
Cleanup public API #2531
Conversation
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.
There's a typo in the commit title and I think these changes require an update script.
Codecov Report
@@ Coverage Diff @@
## master #2531 +/- ##
==========================================
- Coverage 91.66% 90.21% -1.45%
==========================================
Files 144 212 +68
Lines 21899 34178 +12279
==========================================
+ Hits 20073 30833 +10760
- Misses 1826 3345 +1519
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
2e1b2fc
to
9592061
Compare
@erimatnor Thank you! I fixed both, I believe. |
@@ -12,7 +12,7 @@ CALL refresh_continuous_aggregate('cagg.realtime_mat',NULL,NULL); | |||
|
|||
SELECT * FROM cagg.realtime_mat ORDER BY bucket, location; | |||
|
|||
SELECT view_name, schedule_interval, materialized_only, materialization_hypertable_name FROM timescaledb_information.continuous_aggregates ORDER BY view_name::text; | |||
SELECT view_name, materialized_only, materialization_hypertable_name FROM timescaledb_information.continuous_aggregates ORDER BY view_name::text; |
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.
this test should still compare the schedule_interval : select from continuous_aggregates view (pre 2.0). b) Select schedule_interval from jobs table for 2.0+ releases.
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.
@gayyappan Does it mean that there should be two versions of the query? Does it mean new version of this update file needs to be introduced?
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.
Since this is executed post update, we don't need 2 versions. selecting schedule_interval for the policies from the jobs view should suffice.
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.
Added test for schedule_interval
Removes unlrelated column schedule_interval from timescaledb_information.continuous_aggregates view and simplifies it. Renames argument cagg in refresh_continuous_aggregate into continuous_aggregate as in add_continuous_aggregate_policy. Part of timescale#2521
Removes unlrelated column schedule_interval from
timescaledb_information.continuous_aggregates view and simplifies it.
Renames argument cagg in refresh_continuous_aggregate into
continuous_aggregate as in add_continuous_aggregate_policy.
Part of #2521