mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-09-27 04:14:30 +02:00
Add implementation to read --parquet files.
This commit is contained in:
parent
fda4dad23a
commit
50ec2e49de
5 changed files with 79 additions and 9 deletions
11
docs/cli.rst
11
docs/cli.rst
|
|
@ -665,6 +665,17 @@ The ``most_common`` and ``least_common`` columns will contain nested JSON arrays
|
|||
|
||||
.. _cli_inserting_data:
|
||||
|
||||
Inserting Parquet data
|
||||
======================
|
||||
|
||||
Parquet is a columnar storage format, frequently used in the Hadoop/Spark ecosystem as well as cloud providers.
|
||||
Parquet files can be inserted via the ``--parquet`` flag.
|
||||
Here's an example::
|
||||
|
||||
$ sqlite-utils insert --parquet data.db data ./data.parquet
|
||||
|
||||
Parquet files, along with the data store data types too, thus making the ``--detect-types`` flag redundant, as data types are inferred automatically (using PyArrow)
|
||||
|
||||
Inserting JSON data
|
||||
===================
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue