-
Notifications
You must be signed in to change notification settings - Fork 25.7k
Add ignore_malformed to geo_shape fields #24654
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.
coerce -> ignore_malformed
cbuescher
left a comment
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.
@nknize I just saw this sitting here for a while, I left a few minor nits. I don't know if you also want someone else to look at it, to me it looks good.
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.
nit: maybe the field name could be a constant under Names, the same as in e.g. GeoPointFieldMapper (or reuse that one)
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.
Maybe also use a constant here
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.
Maybe also check the explicit flag.
|
@nknize can you get this in if still relevant please? |
This commit adds ignore_malformed support to geo_shape field types to skip malformed geoJson fields. closes elastic#23747
This PR adds
ignore_malformedsupport togeo_shapefield types to skip malformed geoJson fields. Tests are updated.closes #23747