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

# Apache Iceberg

> Instructions for connecting an Apache Iceberg table as an export source.

## Overview

Prequel supports reading from Apache Iceberg as an export source. Supported Iceberg catalogs include:

* **AWS Glue Catalog**
* **AWS S3 Tables Catalog**
* **Iceberg REST Catalog**

For regular transfers, DuckDB connects directly to the Iceberg catalog and underlying object storage, streaming rows efficiently to your configured destination. For accelerated transfers between an Iceberg source and an Iceberg destination, Prequel performs physical file replication directly without row deserialization.

## Catalogs

### AWS Glue Catalog

To connect an Iceberg source using AWS Glue:

1. **Database**: Specify the AWS Glue database containing your source Iceberg tables.
2. **Authentication**: Provide either AWS IAM role assumption or static AWS access keys with permissions to read from the Glue catalog (`glue:GetDatabase`, `glue:GetTable`, `glue:GetTables`, `glue:GetPartitions`) and the underlying S3 bucket (`s3:GetObject`, `s3:ListBucket`).
3. **Storage**: Configure the S3 bucket where Iceberg table data and metadata files reside.

### AWS S3 Tables Catalog

To connect an Iceberg source using AWS S3 Tables:

1. **Table Bucket ARN**: Specify the ARN of the S3 Tables bucket (e.g., `arn:aws:s3tables:us-east-1:123456789012:bucket/my-tables`).
2. **Namespace**: Specify the S3 Tables namespace.
3. **Authentication**: Provide either AWS IAM role assumption or static AWS access keys with permissions to read from S3 Tables (`s3tables:GetTable`, `s3tables:GetTableMetadataLocation`, `s3tables:ListTables`) and the underlying table bucket.

### Iceberg REST Catalog

To connect an Iceberg source using a REST Catalog:

1. **Server Host and Port**: Specify the Iceberg REST server endpoint.
2. **Namespace and Warehouse**: Specify the catalog namespace and warehouse identifier.
3. **Authentication**: Configure OAuth2 Bearer Token or Client Credentials (Client ID / Client Secret) authentication.
4. **Storage**: Configure credentials for the underlying object storage bucket (S3, S3 Compatible, GCS, or Azure Blob Storage).


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