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

# Iceberg data types

> Understand how data types are mapped between RisingWave and Apache Iceberg for sources and sinks.

This guide shows how data types are mapped between RisingWave and Apache Iceberg. This mapping applies when you are reading data from an Iceberg source or writing data to an Iceberg sink.

| RisingWave Type    | Iceberg Type   | Notes                     |
| ------------------ | -------------- | ------------------------- |
| `BOOLEAN`          | `boolean`      |                           |
| `SMALLINT`         | `int`          |                           |
| `INT`              | `int`          |                           |
| `BIGINT`           | `long`         |                           |
| `REAL`             | `float`        |                           |
| `DOUBLE PRECISION` | `double`       |                           |
| `VARCHAR`          | `string`       |                           |
| `BYTEA`            | `binary`       |                           |
| `DECIMAL(p,s)`     | `decimal(p,s)` |                           |
| `TIME`             | `time`         |                           |
| `DATE`             | `date`         |                           |
| `TIMESTAMP`        | `timestamp`    |                           |
| `TIMESTAMPTZ`      | `timestamptz`  |                           |
| `INTERVAL`         | `string`       | Serialized as string      |
| `JSONB`            | `string`       | Serialized as JSON string |
| `ARRAY`            | `list`         |                           |
| `STRUCT`           | `struct`       |                           |
| `MAP`              | `map`          |                           |
