GaurGaur docs
Connectors

File upload

Ingest a dataset straight from a file on your machine.

The file upload connector ingests data straight from a file on your machine. It is the quickest way to get a one-off dataset or a small lookup table into Gaur, and it is the only connector that supports Excel files.

No secret needed

File upload is the one connector that needs no secret. The data comes directly from the file you upload, so there are no credentials to store.

Ingest a file

Choose file upload

In the Ingestion area, pick the file upload connector and select the file or files from your machine.

Set the format and options

Gaur detects the format from the file extension. Set any format options it needs, such as a CSV delimiter or an Excel sheet name. The options for each format are listed below.

Name the table and declare its primary key

Give the resulting table a name and declare its primary key: the column or columns that uniquely identify a row. When you map multiple files to multiple tables in one operation, each file gets its own primary_key.

Gaur ingests the file, infers the schema, and creates the table.

Supported file formats

File upload accepts six formats.

FormatExtensionsNotes
Parquet.parquet, .parqColumnar; schema and types are in the file.
CSV.csvComma-separated text.
TSV.tsvTab-separated text.
JSON.jsonA JSON document of records.
JSON Lines.jsonl, .ndjsonOne JSON record per line.
Excel.xlsx, .xlsSpreadsheet workbooks. File upload only.

Excel is supported only by the file upload connector. The S3 and R2 connectors support every format above except Excel.

Format options

Each format takes its own set of options.

CSV and TSV

OptionDescription
delimiterThe field delimiter. Defaults to a comma for CSV and a tab for TSV.
headerWhether the first row holds column names.
ignore_errorsSkip rows that fail to parse instead of failing the ingestion.

JSON and JSON Lines

OptionDescription
recordsHow records are laid out in the document.
maximum_object_sizeThe largest single JSON object size to accept.
ignore_errorsSkip records that fail to parse instead of failing the ingestion.

Parquet

Parquet has no format options. Column names and types are read directly from the file.

Excel

OptionDescription
sheetWhich worksheet to read. Defaults to the first sheet.
rangeA cell range to read, for example A1:F500.
headerWhether the first row of the range holds column names.
all_varcharRead every column as text rather than inferring types.
empty_as_varcharTreat empty cells as text rather than null.
stop_at_emptyStop reading at the first empty row.
ignore_errorsSkip cells or rows that fail to parse instead of failing the ingestion.

Refreshing

An uploaded file is a snapshot. Because the source is a file on your machine rather than a live system, keeping the table current means uploading new data. See Refreshes for the full and append modes available to file-based tables.

Next

On this page