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

Extend First/Last values for Step Interpolation #69

Open
hulien22 opened this issue Jun 6, 2019 · 0 comments
Open

Extend First/Last values for Step Interpolation #69

hulien22 opened this issue Jun 6, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@hulien22
Copy link
Contributor

hulien22 commented Jun 6, 2019

From @StavisT.
For step interpolation, there is sometimes a desire to extend the first and last datapoints to the end of the window. This can be easily implemented by checking for a stepInterpolation call and then duplicating the first/last endpoints received and setting their times to the beginning/end of the query range.

The only concern is to figure out when this should happen: whether we should do it for every step interpolation call, or if there should be a separate option for this (that would allow it for any type of call). I'm against the first option as it might be confusing to users since this would be the only aggregate type that does this. If we go with the latter, then we need to figure out where to put this option.

@hulien22 hulien22 added the enhancement New feature or request label Jun 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant