Skip to content

Conversation

syvb
Copy link
Member

@syvb syvb commented Jan 23, 2023

  • Adds optional start and end parameters to duration_in to only get the duration in the specified range. If end is omitted all states after start are included. interpolated_duration_in now uses these ones as well.
  • Renames state_agg to compact_state_agg and timeline_agg to state_agg
  • Removes mostly unused next parameters from interpolated state aggregate functions.

Closes #687. Related to #691.

@syvb syvb force-pushed the sv/duration_in-extended branch from 4d6b612 to c627db5 Compare January 23, 2023 16:25
@syvb syvb marked this pull request as draft January 23, 2023 19:52
@syvb syvb force-pushed the sv/duration_in-extended branch from 8956d9e to 1cab5a0 Compare January 30, 2023 16:20
@syvb syvb changed the title Support getting the state duration for a range Pre-stabilization changes for state_agg Feb 1, 2023
@syvb syvb changed the title Pre-stabilization changes for state_agg Pre-stabilization changes for state_agg - part 1 Feb 2, 2023
@syvb syvb marked this pull request as ready for review February 2, 2023 22:07
@syvb syvb requested a review from WireBaron February 6, 2023 20:00
@syvb syvb force-pushed the sv/duration_in-extended branch from 6cb48a2 to 7ae40d3 Compare February 7, 2023 17:33
@syvb syvb force-pushed the sv/duration_in-extended branch from 7ae40d3 to b7ffc0b Compare February 7, 2023 17:35
@syvb syvb force-pushed the sv/duration_in-extended branch from d0cd0c3 to 571ace5 Compare February 7, 2023 19:07
@syvb
Copy link
Member Author

syvb commented Feb 8, 2023

bors r+

bors bot added a commit that referenced this pull request Feb 8, 2023
692: Pre-stabilization changes for state_agg - part 1 r=Smittyvb a=Smittyvb

- Adds optional `start` and `end` parameters to `duration_in` to only get the duration in the specified range. If `end` is omitted all states after `start` are included. `interpolated_duration_in` now uses these ones as well.
- Renames `state_agg` -> `compressed_state_agg` (final name TBD), `timeline_agg` -> `state_agg`
- Removes mostly unused `next` parameters from interpolated state aggregate functions

Closes #687. Related to #691.

Co-authored-by: Smitty <[email protected]>
@bors
Copy link
Contributor

bors bot commented Feb 8, 2023

Build failed:

@syvb
Copy link
Member Author

syvb commented Feb 8, 2023

@WireBaron looks like this frequency test is flaky.

bors retry

@bors
Copy link
Contributor

bors bot commented Feb 8, 2023

@bors bors bot merged commit a63a290 into main Feb 8, 2023
@bors bors bot deleted the sv/duration_in-extended branch February 8, 2023 16:41
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.

Add duration_in(state, start, end) accessor for Timeline Agg
3 participants