Parquet Import
Bulk-load existing Parquet files through POST /api/v1/import/parquet, preserving column types, remapping the time column, and repartitioning into Arc's layout.
Import existing Parquet files directly into Arc. Useful for data lake integration, analytics pipeline output, or migrating from other columnar stores.
Available since v26.02.1
Parquet bulk import is available starting Arc v26.02.1 (February 2026).
Changed in v26.06.2
Parquet import now reads the file in-process (via Apache Arrow) instead of through the query engine. The request and response are unchanged. Two things to be aware of: DECIMAL columns are imported as DOUBLE, and empty files / duplicate column names / a time_column rename that collides with an existing time column are rejected with 400.
Endpoint
POST /api/v1/import/parquetHeaders
| Header | Required | Default | Description |
|---|---|---|---|
Authorization | Yes | - | Bearer $ARC_TOKEN |
X-Arc-Database | Yes | - | Target database name (or use db query param) |
Query parameters
| Parameter | Required | Default | Description |
|---|---|---|---|
measurement | Yes | - | Target measurement name |
time_column | No | time | Name of the timestamp column in the Parquet file |
Example
curl -X POST "http://localhost:8000/api/v1/import/parquet?measurement=metrics" \
-H "Authorization: Bearer $ARC_TOKEN" \
-H "X-Arc-Database: production" \
-F "file=@data_export.parquet"Response
{
"status": "ok",
"result": {
"database": "production",
"measurement": "metrics",
"rows_imported": 1200000,
"partitions_created": 8,
"time_range_min": "2026-01-01T00:00:00Z",
"time_range_max": "2026-01-01T07:45:00Z",
"columns": ["time", "host", "region", "cpu_usage", "mem_usage"],
"duration_ms": 890
}
}Notes
- The Parquet file must contain a timestamp column (default name:
time). Use thetime_columnparameter if your column has a different name. The time column may be an ArrowTIMESTAMP(any unit), an integer epoch column (any width), a floating-point epoch column (usetime_format, or auto-detect by magnitude), or a timestamp string column. - Arc reads the Parquet file in-process via Apache Arrow and repartitions the data into Arc's hourly partition layout regardless of the source file's structure. Supported column types: integer (all widths, signed and unsigned), floating point, boolean, string, binary/byte-array (including
LargeBinary),UUID(imported as its canonical text), decimal (imported asDOUBLE), and timestamp. - Binary columns. A byte-array column without a string annotation is stored as binary (
BLOBin SQL) when it has Parquet'sGEOMETRYorGEOGRAPHYtype, when the file's GeoParquetgeometadata names it, when the file was written by Arc, DuckDB, pyarrow or anything that stores an Arrow schema, when the measurement already stores the column as binary, or when any of its values is not valid UTF-8. Otherwise (Spark and Hive write strings without the annotation) a column of text throughout is a string. The whole file is checked before anything is written. See Importing GeoParquet. - A column an import before v27.01.1 stored as a string while it held binary data cannot be read. Import the binary values into a new column: writing bytes to the existing string column is refused with
400. DECIMALcolumns are imported asDOUBLE. If you need exact decimal precision, use Line Protocol ingestion with a configured decimal column.- Maximum file size: 500 MB.
- RBAC: write permissions are checked for the target measurement.
Error responses
| Status | Description |
|---|---|
400 | Missing database/measurement/file; an invalid database or measurement name; a database named after the Iceberg warehouse directory (Arc 27.01.1+); empty file or no rows; time_column not found; empty or duplicate column names; a time_column rename that collides with an existing time column; a null, NaN or Inf value in the time column; a column named _measurement or _database; or a request body cut short |
403 | Insufficient write permissions |
413 | File exceeds 500 MB size limit |
415 | The request has a Content-Encoding header |
422 | Unreadable Parquet file, an unsupported column type, or a GeoParquet column whose encoding is not WKB |
500 | Import execution error. When it stopped after part of the file was written (the node was fenced, the buffer is closing, flushes are not keeping up, or a later part of the file could not be read), the body has rows_written and written_measurements: running the whole file again writes those rows again. |
Since Arc 27.01.1, a missing or invalid database or measurement name answers
the 400, and a write-permission denial the 403, shown above. From v26.06.2 until
27.01.1 the import wrote that answer and then carried on with an empty database name,
so the response could end up a later 500 or 422 instead. Also since Arc
27.01.1, with Iceberg export
on and iceberg.warehouse set to a subdirectory of the storage root, a
database named after that directory answers
400 database name "<name>" is reserved for the Iceberg warehouse.
CSV Import
Bulk-load CSV files through POST /api/v1/import/csv: map the timestamp column, let Arc infer column types, and partition rows into hourly Parquet files.
Line Protocol Bulk Import
Bulk-load InfluxDB Line Protocol files through POST /api/v1/import/lp, including gzip-compressed .lp and .txt files, with optional measurement filtering.