Skip to main content
How-to guide
Parquet stores typed columns and an embedded schema. The connector reads Parquet files and writes datasets with append or whole-dataset overwrite.

Before you start

Prepare an existing Parquet file or folder with order_id BIGINT and amount DOUBLE. Use rows (1, 12.5) and (2, 7.5) to check the result below. The client write example can create this small fixture in a mounted output directory. Prepare access using Read and write files. Readers need permission to read file metadata as well as data ranges.

Read data

The schema comes from the Parquet metadata. No header or inferSchema option is needed. Expect two rows with a total amount of 20.0 for the sample data.

Write data

Use the shared guide’s spark connection and a private mounted output directory.
Use mode("append") to add rows with a compatible schema. SQL also supports this export from the temporary view:
Choose one export example for the destination, then read it again to verify the active rows.

Options

Storage options are listed in the shared file guide. header, delimiter, inferSchema, and a generic compression option are rejected for this connector.

Data types and limits

Embedded Parquet types map to the engine’s column types. Keep schemas compatible across the selected files. Row groups provide read units; projection and supported filters can reduce data reads. Direct file writes buffer batches within the writer’s configured memory budget. Output size is also subject to execution and file-source limits. This connector does not expose table partitioning, bucketing, clustering, or row mutation settings. Iceberg also writes Parquet data files, but its table properties are separate from the direct Parquet connector. Use Iceberg write options for that path.
Last modified on November 23, 2026