Coder Social home page Coder Social logo

Comments (3)

marcelopaesrech avatar marcelopaesrech commented on September 23, 2024

Apparently the mapping from ES to Hive considers case sensitive. But when receives data from ES the plugin just gets the name field from Hive (in this case countryid - in lower case), and try to get from the map returned from ES.

I made a change in this parser, but I didn't test if when the flow is HIVE to ES if its work.

from elasticsearch-hadoop.

costin avatar costin commented on September 23, 2024

Mapping is currently work-in-progress and touches on some of the other issues you reported. It's too early to point to a solution - most likely there will be an option to do field aliasing (i.e. point how the fields in ES map to the fields in Hive/Pig/etc...).

What is your mapping in ES vs Hive? Can't you get around it (for now) by using an intermediate Hive table and then copying things over?

from elasticsearch-hadoop.

costin avatar costin commented on September 23, 2024

@marcelopaesrech can you please try 1.3 M1 or the master? This has been fixed some time ago. The issue was caused by the fact that Hive is case insensitive while ES is which lead to some issues in the way the columns were returned. Additionally, there's also support for mapping (useful when dealing with characters not supported by Hive or Pig) through es.mapping.names
Thanks!

from elasticsearch-hadoop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.