Code Monkey home page Code Monkey logo

parquet-writer's Introduction

Introduction

This project provides libparquetfile, a C++ library which can generate parquet files.

Additionally the proto2parq application is provided which can convert a data files or streams containing protobuf defined records into parquet format.

Acknowledgements

The early development on this project was inspired by Neal Sidhwaney's cpp-parquet project.

Some of the parquet writing C++ components are extracted from the Impala Database Project.

Building

You'll need the Thrift development tools installed:

sudo dnf install thrift-devel

Update the parquet-format submodule:

git submodule update --init

Build with make from the top-level directory:

gmake

Running the Sample Program

The sample program generates the sample data described in the Dremel paper and the parquet-mr annotation document in protobuf format.

The output of this program can be piped into proto2parq and converted to parquet format:

cd sample/OBJDIR
./sample | ../../proto2parq/OBJDIR/proto2parq --outfile=sample.parquet

The protobuf schema is prepended to the begining of the protobuf data output.

parquet-writer's People

Contributors

ksedgwic avatar

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.