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
[Hive] NULL structure value if key name is also a column name #543
Comments
P.S. You are using a very old version of ES. Not only upgrading to latest ES will give you better security but also performance. |
Sorry that was a typo actually and probably not related to the issue. The problem is that the
So to map it I use Re P.S. I know :/ I am planning migration to new ES cluster when I build it on top of my Hadoop nodes but first want to get this working so I know if I can meet my goals. BTW: I use the table to read data from ES to Hadoop; does that mean I don't need |
When you say column are you referring to Hive or Elastic? Hive is flat so the columns name don't reflect their structure too much - and many times they can't reflect the one in ES. This is where you can use BTW: yes, if you don't write, you don't need |
Since there hasn't been any update, I'm closing the issue. Please open a new one if needed. Thanks! |
I have a problem with following mappings:
With this table definition I am getting NULL value in clinics.id field:
If I change the
id
column to something else it I get proper values:So it looks like if I have same column name as a structure field name the structure field will get NULL value.
I am using elasticsearch-hadoop-2.1.1 with hive-1.1.0 (cdh5.4.4) and elasticsearch-0.90.9.
The text was updated successfully, but these errors were encountered: