Search⌘KHide sidebarOpen menu
Switch to dark mode
Copy page content as Markdown⌘⌥C
Login
Connect your data

File Sets

Named folders of uploaded files, turned into datasets by a file processor.

A File Set is a named folder of files you upload. It stores the originals and nothing else: you upload, download, replace, rename, move and delete files, and Beetl keeps them as you uploaded them. Turning those files into a dataset is the job of a file processor, which Beetl creates for the set when you upload files. Use File Sets for exports, one-off loads, documents and anything else that arrives as files.

From files to a dataset

Every File Set has a file processor, listed with the set under Data › Files and shown on the Map. The processor decides how the files become rows.

FilesProcessorWhat it doesPage
CSV, NDJSON or ParquetCSV, NDJSON or ParquetImports the files into one dataset automatically. No AI is used.This page
PDFs, Word, Excel, PowerPoint, HTML, images and other documentsDocumentsYou define the fields to extract, and Beetl reads each document and returns one record per document.Documents and spreadsheets
.xlsx workbooks with a fixed layoutSpreadsheetYou map row ranges or selected cells to columns. No AI is used.Documents and spreadsheets

A new processor waits until it is set up. A processor for CSV, NDJSON or Parquet files needs no AI, and with Import tables right away it needs no setup either.

Formats and size

The first file you add fixes the set's format.

ExtensionImported as
.csvCSV, with a choice of delimiter and header row
.jsonl, .ndjsonNewline-delimited JSON
.parquetParquet

Each file can be up to 5 GiB, and empty files are refused. Once a set has one of these formats, a file with a different extension is refused. Files in other formats, such as PDFs, Word documents or plain .json, are handled by a Documents processor.

Create a File Set

Open Data › Files and choose Upload files, or drop files onto the page.

Choose One file set for files that belong in one table, or One file set per file. A set is named after its first file without the extension.

Leave Import tables right away ticked to import CSV, NDJSON or Parquet files with the default settings. Untick it to set the processor up first: confirm the column types Beetl found (text, integer, number, boolean, date, or date and time) and name the dataset.

The dataset appears under Data › Datasets. When it is Initialized, you can query it by name.

To start from a processor instead, choose Add step and then File processor in a workspace, then add files to it.

Managing files

Expand a set's row to download or remove its files. To add files, drop them onto the set's row. A file with the same name as one already in the set replaces it after you confirm. A file whose content is identical to one already in the set is ignored.

Folders are prefixes in the set name. Create one with New folder, and move a set by dragging its row onto a folder or a breadcrumb. Empty folders disappear. Renaming or moving a set does not rename its dataset. Deleting a set keeps its dataset, and so does deleting a processor.

CSV options

For a CSV set, the processor's Settings tab sets the delimiter (comma, semicolon, tab or pipe) and whether the first row is a header. Open the processor from its file set under Data › Files, or from its step in a workspace.

When files change

The processor imports the set again when you add, replace or remove files.

A file that does not fit the set's columns is skipped, and the import lists it with the reason. If a file that was imported before no longer fits, the whole import fails with "Files imported before no longer fit" and the dataset keeps its previous contents. Fix or remove that file and processing can run again.

If the dataset's schema no longer matches the files, for example because a monthly export gained a column, the processor fails and the dataset is kept as it was, so pipelines that read it keep working. To load the new layout, fix the files or set up a new processor for the new layout, which writes a new dataset. See Datasets and tiers.

Last updated on

On this page