-
Notifications
You must be signed in to change notification settings - Fork 599
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
[Elastic Search] Fix sanitization for bulk queries #1990
Conversation
@GilTeixeira please add at least one test case for this changes :V: |
This is blocking our upgrade to opentelemetry, could somebody please review and merge this? |
@ocelotl I added a test. And this works with |
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.
But this will still throw an exception with elasticsearch<=7.x .... I am not sure what to do in these cases
Inspect the version of the elasticsearch (import VERSION from elasticsearch
) and use appropriate logic for sanitization. Something like
Co-authored-by: Srikanth Chekuri <[email protected]>
@srikanthccv I think you forgot to add the suggestion 😛 |
Would be great to have the final steps to be taken soon, thanks 🙏 |
Looks like this has been addressed by #2355 and this PR can be now closed |
Thanks @oliverholworthy. Please check with the latest release and close if it fixes your issue @GilTeixeira |
That's it, good work 🚀 |
Thanks a lot 🙏 👍 |
Description
Fix sanitization for bulk queries for newer versions (>7.x). Continues the work of #1870
Fixes #1868
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Currently it fails with this traceback:
Does This PR Require a Core Repo Change?
Checklist:
See contributing.md for styleguide, changelog guidelines, and more.