Coder Social home page Coder Social logo

Avro support about rmr2 HOT 2 OPEN

piccolbo avatar piccolbo commented on July 26, 2024
Avro support

from rmr2.

Comments (2)

piccolbo avatar piccolbo commented on July 26, 2024

Proof of concept here

https://github.com/RevolutionAnalytics/rmr2/blob/master/pkg/examples/avro.R

Make sure to read about limitations in the comments

from rmr2.

piccolbo avatar piccolbo commented on July 26, 2024

There is a major issue to fully support formats that need to specify an inputformat (or outputformat), but let's focus on the input side for simplicity. from.dfs calls either streaming with the dumptb command or hdfs dfs -get. Neither accepts input formats as an option, from reading and trying. The former will take a sequence file encapsulated typedbytes data set and write a "pure" typedbytes file, the latter is a copy byte-by-byte. So for now all input formats with a streaming.format components that's not empty or AutoInputFormat (which reads plain text and sequence and is used by dumptb) we can only offer a workaround that is to run a conversion job. Files that are read with from.dfs are in the GB range, so this is workable. Nonetheless we need to review the design, the support for input formats and the implementation options. It's clear that from/to.dfs don't work with formats the way they were expected to.

from rmr2.

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.