Git Product home page Git Product logo

Comments (4)

HunterSherms avatar HunterSherms commented on May 26, 2024

I think this would be really handy. I've written some code to go from Jackson annotated POJOs to Parquet via Avro and it seems that the only way to achieve this with Jackson is:

Convert Pojos to Avro (byte array) -> Convert byte array to GenericRecord -> Convert GenericRecord to Parquet

Having a direct conversion from POJO to Avro GenericRecord and the like would simplify things greatly, and I assume improve performance.

from jackson-dataformats-binary.

cowtowncoder avatar cowtowncoder commented on May 26, 2024

Yes, this would be useful. The only (?) tactical question here is whether it'd make sense to add maybe jackson-datatype-avro, since we may want to avoid dep to std avro lib in future (currently we still use it for serialization, schema handling) -- may or may not happen. Conceptually this would then be a datatype, and would nicely plug in via ser/deser interfaces.
At the same time of course there's the question of practicality: just adding support here would be simpler. Maybe this package could plug in datatype handlers optionally, via AvroMapper (and allow use as separate thing too).

from jackson-dataformats-binary.

victornoel avatar victornoel commented on May 26, 2024

I second the need, with the same use case as @HunterSherms.

By the way @HunterSherms are you still using this solution or have you found better ways to avoid extra conversion?

from jackson-dataformats-binary.

HunterSherms avatar HunterSherms commented on May 26, 2024

Unfortunately I did not find a better solution. After writing the code linked above I moved on to other projects. Best of luck!

from jackson-dataformats-binary.

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.