-
Notifications
You must be signed in to change notification settings - Fork 25.2k
DateHistogramAggregationBuilder#toString yields unexpected error string #25648
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
Comments
@yuthura yes, thanks for pointing this out. The problem is that |
@cbuescher Should we make |
@javanna - @cbuescher and I were just saying the same thing. I think that would be the ideal solution here but we need to migrate the remaining classes to XContentObject otherwise we risk fixing this but breaking other classes. |
@cbuescher thanks for the tip on |
This bug is related to #16347 so I'm going to cloase this in favour of that issue |
Elasticsearch version: 5.3.2
Plugins installed: []
JVM version: 1.8.0_121
OS version: Windows 10
Description of the problem including expected versus actual behavior:
Using
toString()
on aDateHistogramAggregationBuilder
(and most likely other aggregation builders as well) yields the following result:Expected result is something along the lines of:
Steps to reproduce:
Run the following class (adding more calls to the builder continues to yield the same result):
This is a follow-up on an existing (closed) issue for the following pull request (as request by @cbuescher ): #22280
The text was updated successfully, but these errors were encountered: