Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

41
parquet-tools Normal file
View 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}}`