Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 745 Bytes

README.md

File metadata and controls

38 lines (29 loc) · 745 Bytes

Build Status

Parquet Dump

Converts binary parquet data from a pipe into JSON outputted to STDOUT

#> cat /tmp/foobar/*.parquet | java -jar target/scala-2.11/Parquet-Dump-assembly-1.0.0.jar
{"a":1,"b":null}
{"a":1,"b":null}
{"a":1,"b":null}
{"a":1,"b":null}
{"a":1,"b":null}
...

counting records per block

cat /tmp/foobar/*.parquet | java -jar target/scala-2.11/Parquet-Dump-assembly-1.0.0.jar --counts
5
10
15

Install

Download the latest jar from the releases page

Build

sbt assembly

Run

cat /tmp/myparquet/*.parquet | java -jar Parquet-Dump-assembly-1.0.0.jar