mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-03 12:55:06 +00:00
Update cheatsheets
This commit is contained in:
41
parquet-tools
Normal file
41
parquet-tools
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# parquet-tools
|
||||
|
||||
> Show, inspect and manipulate Parquet file.
|
||||
> More information: <https://github.com/apache/parquet-mr>.
|
||||
|
||||
- Display the content of a Parquet file:
|
||||
|
||||
`parquet-tools cat {{path/to/parquet}}`
|
||||
|
||||
- Display the first few lines of a Parquet file:
|
||||
|
||||
`parquet-tools head {{path/to/parquet}}`
|
||||
|
||||
- Print the schema of a Parquet file:
|
||||
|
||||
`parquet-tools schema {{path/to/parquet}}`
|
||||
|
||||
- Print the metadata of a Parquet file:
|
||||
|
||||
`parquet-tools meta {{path/to/parquet}}`
|
||||
|
||||
- Print the content and metadata of a Parquet file:
|
||||
|
||||
`parquet-tools dump {{path/to/parquet}}`
|
||||
|
||||
- Concatenate several Parquet files into the target one:
|
||||
|
||||
`parquet-tools merge {{path/to/parquet1}} {{path/to/parquet2}} {{path/to/target_parquet}}`
|
||||
|
||||
- Print the count of rows in a Parquet file:
|
||||
|
||||
`parquet-tools rowcount {{path/to/parquet}}`
|
||||
|
||||
- Print the column and offset indexes of a Parquet file:
|
||||
|
||||
`parquet-tools column-index {{path/to/parquet}}`
|
||||
Reference in New Issue
Block a user