Giter VIP home page Giter VIP logo

datatable-to-parquet's Introduction

System.Data.DataTable to Parquet

Provides a simple console application to show how data can be transformed from a DataTable to Parquet using Parquet.NET.

There are times when you want to be able to write a query, get the results and persist them out without the need to create intermediate objects. This solution provides a way in which that can be accomplished.

This is by no means a complete solution and so I advise that you test it carefully before deploying to any production system. The solution also has the possibility of further optimisations which were ignored in this code base for the purposes of illustration and readability (is that actually a word?).

At the top of the Program.cs file there are 2 constants which may be changed to alter the output file path and the row group size. Currently the row group size is set to a small value for demonstration purposes, you may want to increase this but as noted in the Parquet.NET documentation you probably don't want to go above 5000.

datatable-to-parquet's People

Contributors

dazfuller 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.