parqueteer
comprehensive command line tools for Apache Parquet
- Scala
- Apache Parquet
- S3
- GCS
- Azure
Option 1: Homebrew (macOS / Linux)
brew tap yusukensanta/parqueteer
brew install parqueteer
Option 2: Distribution Package
Download the latest .tgz (or .zip) from the releases page, then:
# Using .tgz
tar xzf parqueteer-VERSION.tgz
cd parqueteer-VERSION/
# Or using .zip
unzip parqueteer-VERSION.zip
cd parqueteer-VERSION/
# Run
bin/parqueteer --help
Note: Java 21 (LTS) recommended for clean output. Java 25+ may show harmless JVM deprecation warnings from the Scala runtime.
Option 3: mise (Optional)
If you use mise, it can install the release .tgz directly from GitHub Releases (the build provenance attestation is verified on download):
# Install the latest release and make it available globally
mise use -g github:yusukensanta/parqueteer
# Or pin a specific version
mise use -g github:yusukensanta/parqueteer@0.10.195
parqueteer --version
The launcher needs a Java runtime on PATH or in JAVA_HOME. If you don't have one, mise can provide it too:
mise use -g java@corretto-21
Newest release not picked up by mise
As a supply-chain safeguard, mise skips versions published more recently than its minimum_release_age setting (default: 24h). For about a day after a release is published, the version marked Latest on GitHub Releases can therefore differ from what mise resolves as latest:
$ mise latest github:yusukensanta/parqueteer
0.10.194
mise WARN 1 newer github:yusukensanta/parqueteer release hidden by minimum_release_age
The filter applies to latest, prefix requests such as @0.10, and mise upgrade. To install the newest release before the window has passed, either pin the exact version (exact versions are not filtered) or set the age explicitly for that one command:
# Pin the exact version shown on GitHub Releases
mise use -g github:yusukensanta/parqueteer@0.10.195
# Or turn the delay off for this command only
mise use -g --minimum-release-age 0s github:yusukensanta/parqueteer
Prefer leaving the default in place for everyday use; the delay gives time for a compromised release to be noticed and pulled before it reaches your machine.
Build from Source
git clone https://github.com/yusukensanta/parqueteer.git
cd parqueteer
# Quick start with Make (recommended)
make setup-dev # One-time setup
make compile # Build the project
make assembly # Create standalone JAR
# Or use sbt directly
sbt compile
sbt assembly
Common commands:
make compile- Compile the projectmake test- Run testsmake assembly- Create fat JAR (target/scala-3.10.0/parqueteer.jar)make package- Create distribution with launch scriptsmake clean- Remove build artifacts
Prerequisites:
- Java 21 (or Java 17+)
- SBT 1.11+ (or use
make installwith mise for automatic version management)
Cloud Credentials
AWS S3:
Static credentials:
export AWS_ACCESS_KEY_ID=your_key
export AWS_SECRET_ACCESS_KEY=your_secret
AWS SSO (Identity Center):
# Configure a profile once
aws configure sso --profile my-profile
# Authenticate before use
aws sso login --profile my-profile
# Use the profile
parqueteer read s3://bucket/data.parquet --profile my-profile
# or set as default
export AWS_PROFILE=my-profile
parqueteer read s3://bucket/data.parquet
saml2aws (SAML-based SSO):
# saml2aws writes standard credentials to ~/.aws/credentials
saml2aws login
# Use the generated profile (default: saml)
export AWS_PROFILE=saml
parqueteer read s3://bucket/data.parquet
Named profile (any auth method):
parqueteer read s3://bucket/data.parquet --profile my-profile
Google Cloud:
User credentials (recommended for local development):
gcloud auth application-default login
parqueteer read gs://bucket/data.parquet
gcloud auth application-default login writes credentials to ~/.config/gcloud/application_default_credentials.json and they are picked up automatically — no environment variable needed.
Service account key file:
export GOOGLE_APPLICATION_CREDENTIALS=/path/to/key.json
# or
export GCP_SERVICE_ACCOUNT_KEY_FILE=/path/to/key.json
parqueteer read gs://bucket/data.parquet
Optional: set project ID with GCP_PROJECT_ID or GOOGLE_CLOUD_PROJECT.
Azure:
Default (no env vars required): tries, in order, environment credentials, workload identity, managed identity (Azure-hosted compute), and your az login session. The signed-in identity needs a data role such as Storage Blob Data Reader / Contributor on the container (the subscription Owner role does not grant data access):
az login
parqueteer read abfss://container@account.dfs.core.windows.net/data.parquet
Azure CLI session only:
export AZURE_AUTH_METHOD=azure_cli
parqueteer read abfss://container@account.dfs.core.windows.net/data.parquet
Managed identity only (optionally AZURE_CLIENT_ID for a user-assigned identity):
export AZURE_AUTH_METHOD=managed_identity
parqueteer read abfss://container@account.dfs.core.windows.net/data.parquet
Service principal:
export AZURE_AUTH_METHOD=service_principal
export AZURE_CLIENT_ID=your-client-id
export AZURE_CLIENT_SECRET=your-client-secret
export AZURE_TENANT_ID=your-tenant-id
parqueteer read abfss://container@account.dfs.core.windows.net/data.parquet
Shared key:
export AZURE_AUTH_METHOD=shared_key
export AZURE_STORAGE_KEY=your-storage-key
parqueteer read abfss://container@account.dfs.core.windows.net/data.parquet
SAS token:
export AZURE_AUTH_METHOD=sas_token
export AZURE_STORAGE_SAS_TOKEN=your-sas-token
parqueteer read abfss://container@account.dfs.core.windows.net/data.parquet