Menu
Miller vs. DuckDB

Build tomorrow’s door list or count the occupied booths?

The door team needs one line per registration. The sign printer needs one line per occupied booth. Start with the same roster and produce two different handoffs.

Which fits your work?

Choose Miller for a straightforward field-by-field transformation you expect to repeat on the next export. Choose DuckDB when someone wants to change the grouping or ask a second SQL question of the same file. The important handoff detail is what one row means to its recipient.

How the workflows differ

DecisionMillerDuckDB
Unit of outputFilter the records by status and select the fields the door team needs. A confirmed registration normally keeps its own line.Group the confirmed rows by booth in SQL. Each resulting row describes a location and carries a registration count.
What to preserveKeep both confirmed B7 registrations when the volunteer checks people in separately. A vendor-name cleanup belongs to a different step.Keep ticket identifiers as text when reading the source. A group count can be correct even after a badly inferred identifier has lost its leading zeros.
Quick auditCompare a four-row list with the original confirmed entries. A list of three would require an explanation before delivery.Read the three booth groups and add their counts. The sum should recover the four confirmed registrations from the door list.

Run a small trial

Use market.csv from the guides. Produce a door list for the confirmed entries and a separate table with the count per booth. Now move Red Kite Studio from pending to confirmed in a copy. Predict both changes before rerunning: one more registration and one more occupied booth, because D4 was absent from the first confirmed set.

Documentation

Miller reference ↗ · DuckDB reference ↗

Individual guides