Files & Studio
The Files page (/files) browses an object-storage catalog — S3, GCS,
Azure Blob or R2 — as a folder tree. It is for the data that is not a table
yet: exports, landing zones, one-off Parquet dumps, Iceberg tables and Lance
datasets.
Unlike the Tables page, Files has no cache. It lists one folder level at a time through the provider's own API, so opening a bucket with millions of objects is one cheap listing rather than a crawl. Credentials are resolved on the server and never returned to the browser.
What a row means
A page shows folders and files with each file's type, size and
Updated time (the provider's last-write time). Only CSV, JSON Lines, JSON,
Parquet and Lance are queryable rows; bookkeeping objects such as _SUCCESS,
.DS_Store and engine sidecars are skipped.
- Type from contents. An object whose name has no useful extension is typed
from its first bytes —
PAR1, gzip-wrapped content, JSON — and marked detected.pp_lake's Parquet exports named.gzare found this way instead of looking like an empty folder. - Compressed names such as
.csv.gz,.jsonl.gz,.json.gzand their.zstforms are accepted, because DuckDB reads them directly. - Hidden files. A page reports how many objects stayed hidden because their type could not be determined or is not queryable.
- Caps. One level lists at most 5,000 entries; content detection probes at most 20 distinct suffixes per page. A folder larger than that is paged or searched rather than fully listed.
Hive partitions
When the folders under the current prefix look like key=value, the page marks
the folder as Hive-partitioned, tags the partition folders, and carries those
columns onto each file. Opening the file in Studio then adds
hive_partitioning=true, so year=2026/month=11/ becomes year and month
columns in the query rather than part of the path.
Iceberg tables
An Iceberg table is a folder with data/ and metadata/. At the table root the
page resolves the newest <version>-<uuid>.metadata.json and offers a single
preview row, instead of leaving you to guess which data file to open. Both
folders stay browsable:
- inside
metadata/, the table definition, manifests, Puffin statistics andversion-hint.textare listed with their own non-queryable roles rather than counted as hidden junk; - the table's Updated time is the commit time read from the metadata head, not the object's last-write time — maintenance can rewrite or copy the newest metadata file long after the last commit.
Studio reads the table with iceberg_scan. When the snapshot's position-delete
files would make that scan slow — common on a merge-on-read table written by
Trino — the preview samples one live data file instead, so it returns in
seconds rather than minutes.
Lance datasets
A .lance directory is one entry whose size is the sum of its objects and whose
Updated time is the newest object in the dataset. Summing a dataset means
listing it, so the walk is bounded: at most 5,000 objects per dataset and 20,000
per search. A capped sum is reported as a lower bound (size_complete: false)
rather than as the dataset's size.
Search and paging
Search runs under the current prefix and recurses, which is how a file in a deep
landing zone is found without walking to it. It is capped at 20,000 keys, so a
search in a very large bucket reports truncated instead of running for
minutes. Rows are paged 25 at a time by default, up to 200.
Query in Studio
Query in Studio opens the file in Studio. The link carries a file reference — catalog plus path — never SQL, so a crafted link cannot run a statement. Studio reads the file's metadata back from the server and builds the query from the type and the Hive columns:
| File | Read as |
|---|---|
.csv / .csv.gz | read_csv (with hive_partitioning=true when partitioned) |
.parquet | read_parquet |
.json / .jsonl | read_json_auto |
.lance | a Lance dataset path |
| Iceberg table root | iceberg_scan, or one sampled data file for a merge-on-read table |
The same guard, cost estimate and scopes apply as for any other query, and a filter on a partition column is what keeps a large folder cheap. See Reading files for the SQL these produce, and Exporting files for writing files back into a catalog.
Access
Files uses the same catalog grants as everything else: a catalog the caller cannot see is not listed, and a path is resolved only after that check. Column and table restrictions are metadata rules for registered tables; a raw file is read as it is stored, so a hidden column is not hidden inside a Parquet export. Keep sensitive exports out of broadly granted storage catalogs.