Giter Site home page Giter Site logo

toparquet's Introduction

Features

  • Converts CSV files into Parquet.
  • Creates Partitions

Usage

Project Status: Dev Testing - Seems to be working, but needs more testing. Do not use in production.

Designed to run on a Hadoop edge node.

Examples

java -jar toparquet.jar -if myfile1.csv myfile2.csv -o myparquet

java -jar toparquet.jar -ip folder/mydir/ -o myparquet -s myschema.par

More Information

java -jar toparquet.jar -h

Advanced/Json Configuration Guide

Development Readme

Goals

The motivation of this project is to allow an in-memory data processing framework, such as Spark, to be able to process a large file that might not fit into a node's memory if it were a CSV. In some unfortunate circumstances, spark might not have enough memory to do the conversion itself.

  • Ability to quickly and easily convert large files into parquet with minimal memory usage.
  • Preprocess files to be more easily used by spark processing.

Non-Goals

  • This project does not intend to become a data transformation / processing tool in its own right.

Feature Roadmap

  • Stable CSV to Parquet Conversion
  • Streaming Conversion via Command Line Pipe
  • Failure Tolerance
  • Add Calculated Columns to Output
  • Basic Filtering
  • Explode Records (To deal with high-skew joins)
  • Dedupe Records
  • Isolate Large Columns into their own Files
  • Multiply Readers for Input Bottlenecks
  • Multiply Writers for Output Bottlenecks
  • Array Support
  • Per Partition Ordering
  • Option to use Cloud Object Storage instead of Hadoop
  • Multi-Node Processing?
  • Other Input Formats?

toparquet's People

Watchers

 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.