项目作者: renesugar

项目描述 :
A Cap'n Proto compiler plugin to create a Parquet schema from a Cap'n Proto schema
高级语言: C++
项目地址: git://github.com/renesugar/capnpc-parquet.git
创建时间: 2017-09-24T04:38:23Z
项目社区:https://github.com/renesugar/capnpc-parquet

开源协议:Apache License 2.0

下载


capnpc-parquet

capnpc-parquet is a Cap’n Proto compiler plugin that converts a Cap’n Proto schema to a Parquet schema.

Reference:

Cap’n Proto Schema Language

Table of Contents

License

This project is licensed under the Apache License, Version 2.0.

Building

capnpc-parquet uses CMake for its build system.

  1. mkdir build
  2. cd build
  3. cmake ..
  4. make

Using

The basic command line to use this compiler plugin is:

  1. capnpc -o ./capnpc-parquet file.capnp

This plugin prints out the generated Parquet schema.

Possible uses:

1) Write out a program that reads/writes a Parquet file using the compiled schema. The coded generated could use the Parquet-Cpp or Arrow libraries.

2) Write out a program that generates a Parquet file filed with randomly generated data using the compiled schema.