-
Notifications
You must be signed in to change notification settings - Fork 1.2k
add support for missing_bucket on composite aggregation as per https:… #3420
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Implementation looks good, had some questions about the Bogus change and commented SkipVersionAttribute
@@ -57,7 +57,7 @@ public class Project | |||
.RuleFor(p => p.NumberOfCommits, f => Gimme.Random.Number(1, 1000)) | |||
.RuleFor(p => p.NumberOfContributors, f => Gimme.Random.Number(1, 200)) | |||
.RuleFor(p => p.Ranges, f => Ranges.Generator.Generate()) | |||
.RuleFor(p => p.Branches, f => Gimme.Random.ListItems(new List<string> { "master", "dev", "release", "qa", "test" }, 2)) | |||
.RuleFor(p => p.Branches, f => Gimme.Random.ListItems(new List<string> { "master", "dev", "release", "qa", "test" })) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did this have any knock on for other tests (I believe terms_set
used this field, IIRC)?
@@ -32,7 +32,7 @@ namespace Tests.Aggregations.Bucket.Composite | |||
* | |||
* Be sure to read the Elasticsearch documentation on {ref_current}/search-aggregations-bucket-composite-aggregation.html[Composite Aggregation]. | |||
*/ | |||
[SkipVersion("<6.1.0", "Composite Aggregation is only available in Elasticsearch 6.1.0+")] | |||
//[SkipVersion("<6.1.0", "Composite Aggregation is only available in Elasticsearch 6.1.0+")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be uncommented?
|
||
//hide | ||
[SkipVersion("<6.3.0", "Date histogram source only supports format starting from Elasticsearch 6.3.0+")] | ||
//[SkipVersion("<6.3.0", "Date histogram source only supports format starting from Elasticsearch 6.3.0+")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be uncommented?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
per elastic/elasticsearch#29465 (cherry picked from commit f7712ff)
elastic/elasticsearch#29465