-
Notifications
You must be signed in to change notification settings - Fork 128
Document changes to state_agg/timeline_agg in Toolkit 1.13 #1871
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
Conversation
|
Allow 10 minutes from last push for the staging site to build. If the link doesn't work, try using incognito mode instead. For internal reviewers, check web-documentation repo actions for staging build status. Link to build for this PR: http://docs-dev.timescale.com/docs-sv-state_agg-1.13 |
8ae55e8 to
1561931
Compare
| GROUP BY time_bucket('1 minute', ts)) | ||
| SELECT toolkit_experimental.duration_in( | ||
| 'START', | ||
| toolkit_experimental.rollup(buckets.sa) |
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.
Question: does this actually roll up multiple buckets? Or is it just rolling up a single bucket into the same single bucket?
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.
I did some testing and verified that with my testing data it does split up the data into three buckets and roll them up.
1561931 to
1de4d6d
Compare
9f6c29c to
57d4c7a
Compare
* Document changes to state_agg/timeline_agg in Toolkit 1.13 * fix lacking mention of TimelineAgg * Use better examples for state_agg changes * Expand on use cases for integer states
Description
Documents all of the changes made to
state_aggandtimeline_agg(including the new support for integer states and rollup) in TimescaleDB Toolkit 1.13.Review checklists
Reviewers: use this section to ensure you have checked everything before approving this PR:
Subject matter expert (SME) review checklist
Documentation team review checklist
and have they been implemented?