> ## Documentation Index
> Fetch the complete documentation index at: https://docs.e6data.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Parquet

> Read embedded Parquet schemas and publish a Parquet file dataset.

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](https://docs.e6data.com/transformation/connectors/files.md). Readers need permission to read file metadata as well as data ranges.

## Read data

```sql theme={"theme":{"light":"github-light","dark":"github-dark"}}
CREATE OR REPLACE TEMP VIEW parquet_orders
USING parquet
OPTIONS (
  path '<input-parquet-file-or-folder>',
  pathGlobFilter '*.parquet'
);

SELECT order_id, amount FROM parquet_orders ORDER BY order_id;
```

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.

```python theme={"theme":{"light":"github-light","dark":"github-dark"}}
output_path = "<mounted-parquet-output-directory>"
orders = spark.createDataFrame(
    [(1, 12.5), (2, 7.5)], "order_id BIGINT, amount DOUBLE"
)

orders.write.format("parquet").mode("overwrite").save(output_path)

written = spark.read.format("parquet").load(output_path)
written.orderBy("order_id").show()
assert written.count() == 2
```

Use `mode("append")` to add rows with a compatible schema. SQL also supports this export from the temporary view:

```sql theme={"theme":{"light":"github-light","dark":"github-dark"}}
INSERT OVERWRITE DIRECTORY '<mounted-parquet-output-directory>'
STORED AS PARQUET
SELECT order_id, amount FROM parquet_orders;
```

Choose one export example for the destination, then read it again to verify the active rows.

## Options

| Setting | Behavior |
| - | - |
| File selection | Use shared `path`, `pathGlobFilter`, and `recursiveFileLookup` read options. |
| Schema | Read from file metadata. An explicit view schema is optional. |
| Write mode | `append` or whole-dataset `overwrite`. |
| Compression | Input follows the codecs in the file. Direct file output uses Snappy. |
| Writer format options | No custom Parquet options are exposed by this file connector. |

Storage options are listed in the [shared file guide](https://docs.e6data.com/transformation/connectors/files.md#read-options-shared-by-file-formats). `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](https://docs.e6data.com/transformation/sql/writes.md#iceberg-write-options) for that path.

## Related guides

* [Read and write files](https://docs.e6data.com/transformation/connectors/files.md)
* [Read MinIO Parquet](https://docs.e6data.com/transformation/recipes/files/minio-parquet.md)
* [Apache Iceberg](https://docs.e6data.com/transformation/connectors/iceberg.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.