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

Allow approx_count accessor to take NULL inputs #568

Merged
merged 1 commit into from
Oct 7, 2022
Merged

Conversation

rtwalker
Copy link
Contributor

@rtwalker rtwalker commented Oct 7, 2022

Fixes #567

The approx_count function previously unwrapped it's aggregate argument without handling the NULL case. With this change, it will instead return NULL when given a NULL for the CountMinSketch.

Fixes #567

The `approx_count` function previously unwrapped it's aggregate
argument without handling the NULL case. With this change, it will
instead return NULL when given a NULL for the CountMinSketch.
@rtwalker rtwalker force-pushed the rw/approx-count-nulls branch from 5600c13 to 3fbc005 Compare October 7, 2022 14:01
Copy link
Contributor

@epgts epgts left a comment

Choose a reason for hiding this comment

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

worth a 1.11.1 ?

@rtwalker
Copy link
Contributor Author

rtwalker commented Oct 7, 2022

bors r+

@rtwalker
Copy link
Contributor Author

rtwalker commented Oct 7, 2022

worth a 1.11.1 ?

up to you :)

@bors
Copy link
Contributor

bors bot commented Oct 7, 2022

@bors bors bot merged commit 99cc347 into main Oct 7, 2022
@bors bors bot deleted the rw/approx-count-nulls branch October 7, 2022 14:43
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.

approx_count of count_min_sketch fails when called via time_bucket_gapfill with empty buckets
3 participants