Local files
Query CSV, Excel and Parquet files with SQL, no importing, no scripts. Rowpilot turns a file or a bunch of files into a data source backed by DuckDB.
Supported formats
- CSV
- XLSX (Excel)
- Apache Parquet
Files are opened in read mode; your original file is never modified.
Open a file
Using the app menu
- Click the main app menu →
Open local file - Pick the file (or enter a path)
- Optionally adjust the data source name and the table name
- Click
Create
You can also drag the file onto the Rowpilot window and a data source is automatically created.
Using the data source dialog
Files can also be added using New Data source:
- Click the
New Data sourcebutton in the left sidebar (or pressCmd/Ctrl+Shift+N) - Select Local file
- Pick the file (or enter a path)
- Optionally adjust the data source and table names
- Click
Create
Rowpilot checks the file, detects the schema automatically and shows it in the schema tree.
Excel worksheets
An .xlsx file can hold multiple sheets. Rowpilot has a worksheet picker where you can choose which sheets to import. Each selected sheet becomes a table.
Reading multiple files
The file path supports glob patterns, so you can load a whole bunch of files as one table:
/data/exports/*.parquet
See DuckDB documentation for details.
Adding more files
A file data source isn't limited to one file. You can add more files to an existing file data source, each gets its own table, and you can query across all of them.
- Go to right sidebar schema tree
- Click
Add data filebutton in the schema tree toolbar - Pick the file (or enter a path)
- Optionally adjust the data source and table names
- Click
Add
Notes
- Table names must be valid SQL identifiers (start with a letter or underscore; letters, numbers and underscores only)
- The engine behind file sources is DuckDB; see DuckDB
- For files living in the cloud or in remote locations see Remote files
