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

Implement option for Offset #185

Merged
merged 3 commits into from
Oct 24, 2023
Merged

Implement option for Offset #185

merged 3 commits into from
Oct 24, 2023

Conversation

joente
Copy link
Member

@joente joente commented Oct 24, 2023

Implement an option for defining an offset when using aggregation functions.

For example:

select mean(1d) => offset(2h) from ...

The above will take the mean per day, with an offset of 2 hours. (for example when using a timezone of +2h)

Note that when using the offset, the daylight saving times are not honored

@joente joente merged commit fb0463e into master Oct 24, 2023
2 checks passed
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.

1 participant