Sources
DuckDB and Parquet files QuackUI knows about, where they come from and what it records.
Add a file
There are two ways in.
The data folder. DuckDB files (.duckdb, .ddb or .db) and Parquet files (.parquet) anywhere under ./data become sources. The contents must match the extension. Scans happen at startup, every ten minutes and on Rescan. Hidden files, and links that point outside the folder, are skipped.
Upload. Admins can upload a DuckDB or Parquet file in File › Sources, up to 2 GB unless you change QUACKUI_MAX_UPLOAD_MB. The format is decided by the contents, so a Parquet file named data.duckdb becomes data.duckdb.parquet.
Parquet files
Each Parquet file is one source with one table, main. followed by the file’s name in lower case with each run of characters other than letters, digits and underscores as one underscore, trimmed at both ends and cut to 63 characters. Sales 2024.parquet has the table main.sales_2024, and 2024.parquet has main.s_2024. Models can join Parquet and DuckDB sources.
- Parquet has no declared keys or comments, so joins are inferred from names, types and uniqueness.
- A folder of files isn’t read as one table, and folder names such as
year=2024add no columns. - Nested columns are listed as unsupported. The other columns can be used.
- Encrypted files aren’t supported, and a path containing
*,?or[puts the source in error until it is renamed. - A file that is still being written is picked up by a later scan, once it is complete.
Look inside one
Open a source to see its tables and columns, with types, nullability, keys, comments, approximate distinct counts and ranges. Statistics come from a sample of at most 100,000 rows per table. Non-admins don’t see columns hidden from them.
Status
| Status | Meaning |
|---|---|
| Ready | It was read successfully. |
| Pending | It hasn’t been read yet, or its structure changed, or couldn’t be checked, and it hasn’t been read again. Queries are refused with source_not_ready until it has. |
| Missing | The file has gone. The last catalog is kept. |
| Error | It couldn’t be opened. The reason is shown, and every scan tries again. |
A common error is another process holding the file open for writing. For a DuckDB file, DuckDB allows one writer and no readers alongside it. Write to a temporary file and rename it into place when finished.
Changing data
New rows need nothing from you. QuackUI notices the size or modification time and stops using cached results for the old file. A change committed only to a DuckDB file’s .wal counts too. If the structure is the same, a ready source stays ready and queries carry on with the new data while its catalog and statistics are read again. If that fails, the source is in error until a later scan succeeds.
A change in structure is different: added or dropped columns, changed types, changed keys. The source is pending until it has been read again, and models using the file go to needs review until someone checks them. See When data changes shape.
Delete
Uploaded files can be deleted unless a version of some model uses them. Files in the data folder are yours to remove from disk.
Safety
QuackUI opens sources read-only, with DuckDB’s extension loading switched off and no access to any other file. Non-admins see only the sources behind models they can use.


