Skip to content
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

Fix errors in state_agg rollup #715

Merged
merged 7 commits into from
Feb 24, 2023
Merged

Fix errors in state_agg rollup #715

merged 7 commits into from
Feb 24, 2023

Conversation

syvb
Copy link
Member

@syvb syvb commented Feb 21, 2023

This PR should fix out-of-bounds indexing in rollup:

  • before, last_state in the merged aggregate was computed incorrectly; it is now determined correctly
  • merging aggregates now sorts them first

It also improves the various error messages that could arise when using rollup.

@syvb syvb force-pushed the sv/state_agg-rollup-errors branch from 373b299 to 94557c2 Compare February 21, 2023 14:56
@syvb syvb marked this pull request as ready for review February 21, 2023 15:18
@syvb syvb force-pushed the sv/state_agg-rollup-errors branch from 4337e96 to 2189720 Compare February 23, 2023 01:55
@syvb syvb requested a review from WireBaron February 23, 2023 17:01
Signed-off-by: Smittyvb <smitty@timescale.com>
@syvb
Copy link
Member Author

syvb commented Feb 24, 2023

bors r+

@bors
Copy link
Contributor

bors bot commented Feb 24, 2023

Build succeeded:

@bors bors bot merged commit f697f0b into main Feb 24, 2023
@bors bors bot deleted the sv/state_agg-rollup-errors branch February 24, 2023 16:12
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.

2 participants