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

Calendar windower #411

Open
davidselassie opened this issue Feb 29, 2024 · 0 comments
Open

Calendar windower #411

davidselassie opened this issue Feb 29, 2024 · 0 comments
Labels
type:feature New feature request

Comments

@davidselassie
Copy link
Contributor

It would be a nice convenience to have a window definition which buckets by the calendar. This isn't possible to do nicely with current tumbling windows because of: leap seconds, DST, differing month lengths, leap years, etc.

Parse into a datetime, read out the appropriate field. Maybe add some convenience ones.

CalendarWindower(unit: Literal["hour", "day", "week", "month", "half", "quarter", "year"], count: int = 1)
@github-actions github-actions bot added the needs triage New issue, needs triage label Feb 29, 2024
@davidselassie davidselassie added type:feature New feature request and removed needs triage New issue, needs triage labels Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature New feature request
Projects
None yet
Development

No branches or pull requests

1 participant