pckhoi / taste

Command-line application to read random rows from a Parquet file or a CSV file in a performant way.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Taste

Command-line application to read random rows from a Parquet file or a CSV file in a performant way. This tool only reads local files for now.

Installation

sudo bash -c 'curl -L https://github.com/pckhoi/taste/releases/latest/download/install.sh | bash'

Usage

# print one random row from a parquet file
taste data.parquet

# print one random row from a CSV file
taste data.csv

# use custom CSV delimiter
taste data.csv -d '|'

# pretty print JSON
taste data.parquet --pretty

# read 20 custom rows
taste data.parquet -n 20

About

Command-line application to read random rows from a Parquet file or a CSV file in a performant way.

License:MIT License


Languages

Language:Go 86.4%Language:Makefile 13.6%