pqcat

Crates.iopqcat
lib.rspqcat
version0.1.1
sourcesrc
created_at2024-05-01 18:33:45.849977
updated_at2024-05-01 20:13:27.96604
descriptionA simple utility to print parquet file summaries
homepage
repository
max_upload_size
id1226693
size57,265
Jacob Trueb (trueb2)

documentation

README

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 │
└────────────────────────────┴───────┴───────┴──────┘
Commit count: 0

cargo fmt