A DuckDB GUI for your CSV files
By Tanin Na Nakorn · Updated
DuckDB is one of the best things to happen to CSV files. select * from 'orders.csv' just works, and it
chews through gigabytes in seconds. Superintendent isn't a replacement for it. It's built on it. Its local
workspace is a DuckDB database, and the SQL you write against your CSVs is DuckDB SQL.
What Superintendent adds is everything around the query.
What's different from the DuckDB CLI
See every row, not the first 40
The CLI shows a slice of the result in the terminal. Superintendent opens it in a grid you can scroll from the first row to the 30-millionth, sort by any column, and filter without rewriting the query.
CSV cleanup on import
DuckDB reads a CSV as it is, so a column named Customer ID (old) has to be quoted in every query.
Superintendent cleans the names up on import (Customer_ID_old), makes duplicates unique
(email, email_1), and scans the whole file, not just a sample, to detect each column's
type.
Your databases in the same place
Connect to PostgreSQL, ClickHouse, Snowflake, or SQLite, run queries there in their own dialect, and download the results into the DuckDB workspace to join with your CSVs. DuckDB has extensions for some of this; Superintendent makes it a few clicks, with saved connections.
Edit values in place
Spot a bad value in the grid and fix it right there, instead of writing an UPDATE. The original CSV file
isn't changed.
Saved workspaces
Save your tables, connections, and queries as a .super file. Open it next month, swap in the new
export, and rerun the same checks.
The same SQL
Everything you know from DuckDB carries over: QUALIFY, exclude,
union all by name, list functions, regular expressions, strptime.
select * exclude (rn)
from (
select *, row_number() over (partition by customer_id order by ordered_at desc) as rn
from orders
)
where rn = 1
Stick with the DuckDB CLI if…
- The work is a script or a pipeline that runs without you.
- You want to query files in place (Parquet, S3, globs of CSVs) without importing them.
- You're on Linux, or you live in the terminal and like it there.
Use Superintendent if…
- You need to look at the data, not just compute over it.
- Your CSVs come from other people and have messy headers.
- The answer involves a database as well as a file.
Many people use both: DuckDB in scripts, Superintendent when they need to see what's going on.
Questions
Does Superintendent use DuckDB?
Yes. The local workspace, where your CSV files and downloaded results live, runs on DuckDB. Queries there are DuckDB SQL.
Can I open an existing .duckdb file?
Not as a database connection. Superintendent connects to PostgreSQL, SQLite, ClickHouse, and Snowflake, and keeps its own workspace in its .super project files.
Is it as fast as the DuckDB CLI?
Queries run on the same engine, so they take about the same time. Importing a CSV takes a little longer because Superintendent scans it to detect column types.
What about the DuckDB UI?
DuckDB has a notebook-style local UI. It's a good fit if you like notebooks. Superintendent is built around tables and a grid, cleans up CSVs on import, and connects to other databases.