Skip to content

Simple CLI for contents of a Parquet file

Notifications You must be signed in to change notification settings

qsib-cbie/pqcat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pqcat

This is a simple utility to print a summary of the contents of a parquet file.

Installation

cargo install pqcat

Usage

pqcat <file>

Example

username@hostname some_dir % pqcat accelerometer.parquet
shape: (9_720_794, 4)
┌────────────────────────────┬───────┬───────┬──────┐
│ t                          ┆ x     ┆ y     ┆ z    │
│ ---                        ┆ ---   ┆ ---   ┆ ---  │
│ datetime[μs]               ┆ i32   ┆ i32   ┆ i32  │
╞════════════════════════════╪═══════╪═══════╪══════╡
│ 2023-06-15 20:35:23.734994 ┆ 1713  ┆ 215   ┆ 5783 │
│ 2023-06-15 20:35:23.735290 ┆ 1713  ┆ 215   ┆ 7763 │
│ 2023-06-15 20:35:23.735586 ┆ 1713  ┆ 215   ┆ 7673 │
│ 2023-06-15 20:35:23.735882 ┆ 1713  ┆ 215   ┆ 7762 │
│ 2023-06-15 20:35:23.736178 ┆ 1713  ┆ 215   ┆ 7673 │
│ …                          ┆ …     ┆ …     ┆ …    │
│ 2023-06-15 21:23:40.543990 ┆ -1126 ┆ -4599 ┆ 6770 │
│ 2023-06-15 21:23:40.544286 ┆ -1126 ┆ -4599 ┆ 6758 │
│ 2023-06-15 21:23:40.544582 ┆ -1126 ┆ -4599 ┆ 6756 │
│ 2023-06-15 21:23:40.544878 ┆ -1126 ┆ -4599 ┆ 6747 │
│ 2023-06-15 21:23:40.545174 ┆ -1126 ┆ -4599 ┆ 6741 │
└────────────────────────────┴───────┴───────┴──────┘

About

Simple CLI for contents of a Parquet file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages