#parquet #lance #object-store

bin+lib parquet2lance

Convert parquet files to lance

28 releases

0.4.4 Jul 30, 2024
0.4.2 Jun 6, 2024
0.4.1 Mar 7, 2024
0.4.0 Dec 22, 2023
0.0.3 Mar 29, 2023

#371 in Authentication

Download history 19/week @ 2024-09-11 15/week @ 2024-09-18 8/week @ 2024-09-25 3/week @ 2024-10-02 10/week @ 2024-12-04 57/week @ 2024-12-11

67 downloads per month

Custom license

35KB
383 lines

  • Convert parquet files to lance

  • Working with GCS

    • Using gcloud auth application-default login to generate Application Default Credentials (ADC)
parquet2lance \
  -i gs://cloud-samples-data/bigquery/us-states/ \
  -o test.lance -O

parquet2lance \
  -i gs://cloud-samples-data/bigquery/us-states/us-states.parquet \
  -o test.lance -O
  • From GCS to GCS
parquet2lance \
  -i gs://cloud-samples-data/bigquery/us-states/ \
  -o gs://your-bucket-name/bigquery/us-states/

parquet2lance \
  -i gs://cloud-samples-data/bigquery/us-states/us-states.parquet \
  -o gs://your-bucket-name/bigquery/us-states/us-states.lance
  • Working with local FS
gsutil cp gs://cloud-samples-data/bigquery/us-states/us-states.parquet test.parquet

parquet2lance -i test.parquet -o test.lance -O

Dependencies

~96MB
~2M SLoC