> ## 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.

# Arrow IPC

> Read and write Arrow IPC files with embedded schemas and record batches.

How-to guide

The Arrow IPC connector reads and writes the Arrow IPC file format. IPC means inter-process communication. These files hold an embedded schema, record batches, and a footer.

The file sink supports append and whole-dataset overwrite.

## Before you start

Prepare storage and a client connection using [Read and write files](https://docs.e6data.com/transformation/connectors/files.md). Use an existing Arrow IPC file with `order_id BIGINT` and `amount DOUBLE`, or run the write example first to create a small fixture.

The supported suffixes are `.arrow`, `.ipc`, and `.feather`. The contents must use the Arrow IPC file format; a matching suffix alone does not establish compatibility.

## Read data

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

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

Change the filter if your input uses `.ipc` or `.feather`. The schema comes from file metadata. For the sample rows `(1, 12.5)` and `(2, 7.5)`, expect two rows and a total amount of `20.0`.

## 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-arrow-output-directory>"
orders = spark.createDataFrame(
    [(1, 12.5), (2, 7.5)], "order_id BIGINT, amount DOUBLE"
)

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

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

Use `mode("append")` to add compatible rows. SQL directory export syntax does not offer Arrow IPC output; use the client writer shown here.

## Options

| Setting | Behavior |
| - | - |
| Connector name | `arrow_ipc` in SQL and client format calls. |
| File selection | Use shared `path`, `pathGlobFilter`, and `recursiveFileLookup` read options. |
| Schema | Read from IPC file metadata. |
| Write mode | `append` or whole-dataset `overwrite`. |
| Format options | No custom Arrow IPC reader or writer options are exposed. |

See [shared read options](https://docs.e6data.com/transformation/connectors/files.md#read-options-shared-by-file-formats) for storage settings. Header, delimiter, schema inference, and a generic compression option are not accepted for this connector.

## Data types and limits

Arrow field types and null values are carried in the file schema. The engine must support those field types for the intended query or write. An Arrow IPC file is not a table catalog and does not provide table row mutations.

Each file is one read unit. Reads load the file contents before decoding batches. Writes buffer batches before encoding a file. Keep files within the configured read, write, and worker memory budgets.

Direct writes do not accept partitioning, clustering, or schema-evolution options. Use a table connector for table-level updates, deletes, and merges.

## Related guides

* [Read and write files](https://docs.e6data.com/transformation/connectors/files.md)
* [Parquet](https://docs.e6data.com/transformation/connectors/files/parquet.md)
* [Connector support matrix](https://docs.e6data.com/transformation/connectors.md)


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