Query files in S3 and cloud storage with SQL
You can open a Parquet, CSV or Excel file from cloud storage in Rowpilot and query it with SQL without downloading it first. The file becomes a data source with a table, and the data is streamed on demand when you run a query or browse the table.
File data sources are backed by DuckDB, so the SQL you write is DuckDB SQL. The file is opened in read mode and is never modified.
Your data flows directly between your machine and the storage provider. More in Security & privacy.
Supported storage
| Provider | URL scheme |
|---|---|
| AWS S3 | s3:// |
| S3-compatible (MinIO, Backblaze B2 and others) | s3:// |
| Google Cloud Storage | gs:// |
| Cloudflare R2 | r2:// (or s3://) |
| Azure Blob / ADLS | az:// or azure:// |
| HTTP(S) URL | https:// |
Set up access
Access to a provider is configured once as a credential profile and reused across data sources. For AWS, Rowpilot finds the profiles you already have, including SSO profiles. The setup for each provider is in Cloud profiles.
Open a remote file
- Click the main app menu →
Open remote file - Pick the provider and a credential profile
- Enter the file URL, e.g.
s3://bucket-name/path/to/file.parquet - Optionally adjust the data source name and the table name
- Click
Create
Rowpilot detects the columns and their types and shows them in the schema tree.
Browse an S3 bucket
With an AWS profile selected, the button next to the URL field opens the S3 browser. Navigate your buckets and pick the file, and the URL is filled in for you.
Write a query
Open a new query and use the table name you chose in the dialog. In this example the table is called sales:
SELECT
region,
sum(amount) AS total
FROM sales
WHERE sold_at >= DATE '2026-01-01'
GROUP BY region
ORDER BY total DESC;
The editor completes table and column names from the schema, and the result opens in the grid below the editor.
Add more files as tables
A remote file data source is not limited to one table. You can add another file to it, and each file you add gets its own table that you can join with the others. The URL can also be a glob pattern, so a set of files maps to one table.
- Go to the right sidebar schema tree
- Click the
Add data filebutton in the schema tree toolbar - The provider and the credential profile are preselected, because they have to match the files already in the data source
- Enter the file URL or a glob pattern
- Optionally adjust the table name
- Click
Add
Query many files as one table
The URL accepts a glob pattern, so a set of files with the same columns maps to one table. This works when you create the data source and when you add a file to it:
s3://bucket/data/*.parquet
Columns are matched by name across the files. See DuckDB documentation for details.
Save the result
Export a query result or a grid selection to Excel, CSV, TSV or JSON.
Limits
- Rowpilot opens files with the
.parquet,.csvand.xlsxextensions - Table names must be valid SQL identifiers: they start with a letter or underscore and contain only letters, numbers and underscores
- File data sources are read-only, so the grid shows the data but does not edit it
