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

SQL: Handle aggregation for null group #34916

Merged
merged 2 commits into from Oct 26, 2018
Merged

Conversation

costin
Copy link
Member

@costin costin commented Oct 26, 2018

When dealing with a null group, make sure the associated aggs return
null

Fix #34896

When dealing with a null group, make sure the associated aggs return
null

Fix elastic#34896
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search-aggs

Copy link
Contributor

@astefan astefan left a comment

Choose a reason for hiding this comment

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

LGTM

* Check if the given aggregate has been executed and has computed values
* or not (the bucket is null).
*
* Hopefully solved by
Copy link
Contributor

Choose a reason for hiding this comment

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

Incomplete statement?

Copy link
Contributor

Choose a reason for hiding this comment

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

Please complete the sentence ;-)

Copy link
Contributor

@matriv matriv left a comment

Choose a reason for hiding this comment

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

LGTM

@costin costin added the v6.6.0 label Oct 26, 2018
@costin costin merged commit 55d48e4 into elastic:master Oct 26, 2018
@costin costin deleted the fix-34896 branch October 26, 2018 18:34
costin added a commit that referenced this pull request Oct 26, 2018
When dealing with a null group, the associated metric aggs need to
return null as well

Fix #34896

(cherry picked from commit 55d48e4)
costin added a commit that referenced this pull request Oct 28, 2018
When dealing with a null group, the associated metric aggs need to
return null as well

Fix #34896

(cherry picked from commit 55d48e4)
kcm pushed a commit that referenced this pull request Oct 30, 2018
When dealing with a null group, the associated metric aggs need to
return null as well

Fix #34896
@colings86 colings86 added v6.5.0 and removed v6.5.1 labels Nov 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants