Coder Social home page Coder Social logo

Comments (4)

jprante avatar jprante commented on May 18, 2024

List of objects are handled in the next release, a new column type with appended "[]" will allow JSON arrays. A pull request is already committed. Example: "name[]" -> "John, Paul,George, Ringo"

from elasticsearch-jdbc.

kusum007 avatar kusum007 commented on May 18, 2024

Thanks for the response. I have customized the plugin for my purpose. I found this plugin to be very useful. Great job indeed. Thanks

from elasticsearch-jdbc.

puug avatar puug commented on May 18, 2024

Looks like you now support core type mappings with the comma separated values, but what about arrays of object types? ie

lists" : [
{
"name" : "prog_list",
"description" : "programming list"
},
{
"name" : "cool_list",
"description" : "cool stuff list"
}
]

Doesn't look like it's overly simple to achieve, you would have to support something like
"lists._id", "lists.name", "lists.description", and pivot on the "lists._id" field.

from elasticsearch-jdbc.

jprante avatar jprante commented on May 18, 2024

Yes, such arrays of objects are not easy to interpret. That is beyond the river implementation I think.

There is a _source pseudo-column where you can put JSON into, the river parses it, and ES will take care of it, for example, it can put it into documents with multivalue fields.

from elasticsearch-jdbc.

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.