Skip to content

Changed hll_add_agg() to return hll_empty instead of NULL #11

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

Merged
2 commits merged into from
Jul 16, 2013

Conversation

ozgune
Copy link

@ozgune ozgune commented Jun 18, 2013

Changed hll_add_trans() functions to return hll_empty instead of NULL when aggregating over empty sets. This makes hll_add_agg() conform to PostgreSQL's count() semantics over empty sets, and closes issue #2. Also added corresponding regression tests. (I didn't know if you'd like me to make changes to the documentation, so I left that as is.)

Ozgun Erdogan added 2 commits June 17, 2013 17:45
… when aggregating over empty sets. This makes hll_add_agg() conform to PostgreSQL's count() semantics over empty sets, and closes issue citusdata#2. Also added two small regression tests.
ghost pushed a commit that referenced this pull request Jul 16, 2013
Changed hll_add_agg() to return hll_empty instead of NULL.
@ghost ghost merged commit 6061a40 into citusdata:master Jul 16, 2013
@ghost
Copy link

ghost commented Jul 16, 2013

@ozgune Thank you!

This pull request was closed.
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