Skip to main content

Amazon S3

S3 datasources allow CloudQuant Data Liberator to read CSV, TSV, and Parquet files directly from Amazon S3 buckets or S3-compatible object storage services (MinIO, Wasabi, Backblaze B2, etc.).
See Supported Data Formats for every file extension Liberator can ingest on S3, including formats added in 2.1 and 2.2.

Connection configuration

Required fields

Optional fields

For S3-compatible services (MinIO, Wasabi, etc.), set request_style to "path" and update the endpoint to point to your service. Virtual-hosted style is the default for AWS S3.

Example connection

Never commit AWS credentials to version control. Use environment variables or a secrets manager to inject credentials at deployment time.

CSV/TSV dataset

The data_args are identical to Local File sources. The file_pattern is evaluated relative to the prefix configured on the connection.

Required data_args

Optional data_args

Complete CSV example

Parquet dataset

This provides passthrough access to Parquet data without intermediate caching, leveraging Arrow’s native Parquet reader.
Parquet files offer zero-copy reads and columnar pushdown. This is significantly more efficient than converting Parquet to CSV.

Complete Parquet example

S3-compatible storage

MinIO example

Most S3-compatible services require request_style set to "path". Only AWS S3 defaults to virtual-hosted style.

IAM permissions

The IAM user or role associated with the access key needs at minimum:
  • s3:GetObject on the bucket objects
  • s3:ListBucket on the bucket
See the S3 Bucket Setup guide for detailed IAM policy configuration.