Skip to content

cj-zhukov/demodb-to-datalake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

demodb-to-datalake

demodb-to-datalake is a Rust library for processing data from postgres database into Data Lake.

Description

demodb-to-datalake reads data from postgres database table into datafusion dataframe and saves it as parquet file. Demonstration Database demo can be downloaded from here https://postgrespro.com/community/demodb

Installation

  • Download database
wget /path/to/data/db.sql
  • install database
psql -h localhost -f path/to/data/db.sql
  • Install demodb-to-database crate
  • Run examples
cargo run --example 01-query-table-dyn
cargo run --example 02-query-table-static

About

Process data from postgres database to datalake with sqlx and datafusion

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages