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 #898 - week bucket overflows #899

Merged
merged 2 commits into from
Feb 4, 2020
Merged

Fix #898 - week bucket overflows #899

merged 2 commits into from
Feb 4, 2020

Conversation

sc1f
Copy link
Contributor

@sc1f sc1f commented Feb 3, 2020

This PR fixes a bug in the week_bucket computed function for date and datetime columns, replacing the calculation for week bucket with a more robust version from the date.h library.

@sc1f sc1f added bug Concrete, reproducible bugs C++ labels Feb 3, 2020
Copy link
Member

@texodus texodus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR (and the tests!)! Looks good!

@texodus texodus merged commit e563768 into master Feb 4, 2020
@texodus texodus deleted the computed-fix branch February 4, 2020 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Concrete, reproducible bugs C++
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants