Skip to main content

Static Tables from CSV

Upload a CSV file and turn it into a fully queryable SQL table in Cluvio — no database setup needed. This is a quick way to analyze spreadsheet exports, third-party data, or reference datasets.

Requirements

  • Encoding: CSV files must use UTF-8.
  • File size: Maximum 250 MB per file. Larger files must be split.
  • Structure: After any skipped lines and an optional header row, every remaining line must be CSV data.
  • Separator: Comma, semicolon, or tab.
  • Consistent columns: All rows must have the same number of columns for the chosen separator.

Creating a Static Table

Step 1: Upload File

To create a static table from a CSV file:

  1. Select Add Static Table on the datasources overview page.
  2. Click Select File and choose your CSV file.
  3. The file uploads securely to Cluvio's servers.
  4. Cluvio analyzes the file and detects CSV parsing configuration.

image-700 image-700

image-700 image-700

After successful upload and analysis, proceed to configure how Cluvio extracts the tabular data from your file.

Step 2: Source Configuration

Cluvio auto-detects the CSV parse settings. Review and adjust if needed:

  • Column separator — comma, semicolon, tab, etc.
  • Decimal separator — dot or comma
  • Header row — yes/no
  • Skip lines — number of initial lines to skip

Time Zone: Static tables store all date/time values in UTC. If your file uses a different time zone, select it from the drop-down so Cluvio can convert accordingly. For example, 2025-01-15 14:30 with America/New_York selected is interpreted as 2:30 PM Eastern Time and stored as UTC. Query results are displayed in UTC unless a dashboard time zone is in effect.

image-700 image-700

Step 3: Table Configuration

In this step, configure and preview the table that will be created from the CSV file.

image-700 image-700

Choose a Table Name — this is what you'll reference in SQL queries. It must be unique across all static tables.

Use the Column List to see all detected columns and exclude any you don't need.

Select the Column Detail tab or click on any column in the list to inspect it in detail:

  • Value distribution histograms and frequency analysis.
  • Value counts and min/max values.
  • The column's total data size.

image-700 image-700

You can customize column names and types. The On Invalid Value setting controls what happens when a value cannot be converted to the column's type:

  • Error (default) — saving is disabled until the issue is resolved, e.g. by changing the column type or fixing the source data.
  • Skip Value — the invalid value is replaced with NULL.
  • Skip Row — the entire row containing the invalid value is excluded.

When the currently applied configuration is valid, the Preview Table tab shows the first 100 rows of parsed data as they will appear in Cluvio when querying the table. Verify that the data looks correct.

image-700 image-700

Querying a Static Table

After creating a static table, query it using the Static Tables datasource in the report editor. See Using Static Tables.

image-500 image-500

Reconfiguring a Static Table

Cluvio retains the original file, so you can change a static table's configuration at any time — Cluvio applies the updated settings and rebuilds the table.

There are two ways to reconfigure:

Change Table Configuration

Click on the table name in the static tables list, or select Configure Table from the drop-down menu. This opens a modal for the selected table where you can adjust column names, types, and formats, review value distributions, and preview the data — just as in the original upload.

image-200 image-200

image-700 image-700

Change Source Configuration

Click on the source file type (e.g. csv) in the static tables list, or select Configure Source from the drop-down menu. This opens a full configuration modal where you can change how Cluvio parses the CSV file (separator, header row, time zone, etc.) as well as configure the table — just as in the original upload. You can also download the original file.

image-200 image-200

image-700 image-700

Updating Data

To update your static table with new data, use the Update Data option from the drop-down menu to upload a new CSV file.

image-200 image-200

Select the new file, just as in the original upload. If the schema matches, click Save to update the table with the new data. To adjust settings even when the schema hasn't changed, check Reconfigure source & tables.

image-700 image-700

If Cluvio detects schema changes (e.g. new or removed columns), you are guided to review the source and table configuration.

image-700 image-700

By default, new columns are included (i.e. are added to the table). Proceed through the next steps to review the changes.

image-700 image-700

Upon saving, you are prompted to confirm a summary of the schema changes.

image-500 image-500

Destructive Schema Changes

When saving schema changes that drop columns, rename columns or change column types, existing SQL queries on reports, filters or alerts using this table may start to fail.

Value Types and Formats

Cluvio supports the following value types for CSV data:

TypeDescriptionExample ValuesFormats & Limits
BooleanTrue or false valuestrue, falseCase-insensitive
IntegerWhole numbers42, -1000, 0Signed 64-bit (-9,223,372,036,854,775,808 to 9,223,372,036,854,775,807)
FloatDecimal numbers3.14, -0.5, 1.23e1064-bit floating-point (double precision)
StringText valuesHello, Product AUTF-8 encoded, max 1 MiB (1,048,576 bytes) per value
DateCalendar dates2025-12-14
12/24/2025
24.12.2025
Pre-defined: ISO 8601, US, EU
Custom: See Date-Time Formats
TimeTime of day15:10:30
12:00 AM
Pre-defined: ISO 8601, AM/PM
Custom: See Date-Time Formats
DateTimeDate and time combined2025-12-14T14:15:30
2025-12-14 14:15:30
Pre-defined: ISO 8601, RFC 3339, UNIX timestamp
Custom: See Date-Time Formats

Custom Date and Time Formats

For Date, Time, and DateTime columns, you can define custom formats using format specifiers:

Date specifiers: YYYY, MMMM, MMM, MM, M, DD, D Time specifiers: HH, H, hh, h, mm, ss, A, a Allowed separators: whitespace, ,, -, :, ., /, T, |

See the Date-Time Formats guide for complete details on custom formats.