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
Multifield Mapping wihout default field causes a Nullpointerexception #132
Comments
I've pushed a fix to master which should fix your issue. Cheers! |
This works fine now, no exception and we get the proper data returned. Thanks! |
Great - thanks again for the report and feedback! |
hi Costin, i am getting a different error while trying to fetch data through hive - Any idea what could be the issue here? |
@pgurani123 Instead of commenting on a bug closed a year ago, create a new one or better yet, using the dedicated forum? |
When you have a Multifield Mapping that does not have a default then selecting from hive will result in a Nullpointerexception. Here is how to reproduct this. (I tested this on Elasticsearch 0.90.10 with the current master of elasticsearch-hadoop.
you get the exception:
If you put a default field in the mapping, then there is no error.
works as expected when the default field is set.
IMPORTANT: make sure you test this with 0.90.10, because 1.0.0.RC1 has the following issue with multifield mappings : elastic/elasticsearch#5016
The text was updated successfully, but these errors were encountered: