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

# Target Data Types

> How each target connector types its columns — a source string, number, decimal or timestamp, and the column type it becomes on Snowflake, BigQuery, PostgreSQL, SQL Server, Oracle, Iceberg and Delta Lake.

When a target connector creates a table, it picks each column's type from the source record's type. This page puts the common types side by side; each connector's page has its full table, the effect of a **cast** in the column mapping, and how it handles schema changes.

## Where the type comes from

* **From the Avro schema** of the source record (Schema Registry): Snowflake, BigQuery, PostgreSQL, SQL Server, Iceberg, Delta Lake. An explicit cast in the subscription's column mapping takes precedence.
* **From the values** of the records: Oracle, and BigQuery for columns no schema declares.
* **From the target itself**: Elasticsearch, through its dynamic mapping. See [Field types](https://docs.popsink.com/connectors/target/elasticsearch.md#field-types).

A table that already exists keeps its column types: the connector writes into them, it does not recreate the table.

## Side by side

| Source type | Snowflake | BigQuery | PostgreSQL | SQL Server | Oracle |
| - | - | - | - | - | - |
| `boolean` | `BOOLEAN` | `BOOL` | `boolean` | `bit` | `NUMBER(1)` |
| `int` | `NUMBER(10,0)` | `INT64` | `integer` | `int` | `NUMBER` |
| `long` | `NUMBER(19,0)` | `INT64` | `bigint` | `bigint` | `NUMBER` |
| `float` / `double` | `FLOAT` | `FLOAT64` | `real` / `double precision` | `real` / `float` | `NUMBER` |
| `string` | `VARCHAR` | `STRING` | `text` | `nvarchar(max)` | `VARCHAR2(2000)` |
| `bytes` | `BINARY` | `BYTES` | `bytea` | `varbinary(max)` | `VARCHAR2(2000)` |
| `decimal(p, s)` | `NUMBER(p,s)` | `NUMERIC` / `BIGNUMERIC` | `numeric(p,s)` | `decimal(p,s)` | `NUMBER` |
| `date` | `DATE` | `DATE` | `date` | `date` | `VARCHAR2(2000)` |
| `time` | `TIME(9)` | `TIME` | `time` | `time` | `VARCHAR2(2000)` |
| timestamp | `TIMESTAMP_NTZ` | `TIMESTAMP` / `DATETIME` | `timestamp` | `datetime2` | `VARCHAR2(2000)` |
| timestamp with time zone | `TIMESTAMP_TZ` | `TIMESTAMP` | `timestamptz` | `datetimeoffset` | `VARCHAR2(2000)` |
| JSON (`io.debezium.data.Json`) | `VARCHAR` | `STRING` | `text` | `nvarchar(max)` | `VARCHAR2(2000)` |
| `record` / `map` | `VARIANT` | `STRING` (JSON) | not supported | not supported | `VARCHAR2(2000)` |
| `array` | `VARCHAR` (JSON) | `STRING` (JSON) | `text` (JSON) | `nvarchar(max)` (JSON) | `VARCHAR2(2000)` |

Timestamps without a time zone are written in **UTC**. The lakehouse targets keep the same logical types: see [Iceberg column types](https://docs.popsink.com/connectors/target/iceberg.md#column-types) and [Unity Catalog (Delta Lake) column types](https://docs.popsink.com/connectors/target/deltalake.md#column-types).

## Details per connector

> [card] [Snowflake](https://docs.popsink.com/connectors/target/snowflake.md#data-types)

> [card] [BigQuery](https://docs.popsink.com/connectors/target/bigquery.md#data-types)

> [card] [PostgreSQL](https://docs.popsink.com/connectors/target/postgres.md#data-types)

> [card] [SQL Server](https://docs.popsink.com/connectors/target/mssql.md#data-types)

> [card] [Oracle](https://docs.popsink.com/connectors/target/oracle.md#data-types)

> [card] [Iceberg](https://docs.popsink.com/connectors/target/iceberg.md#column-types)

> [card] [Unity Catalog (Delta Lake)](https://docs.popsink.com/connectors/target/deltalake.md#column-types)

> [card] [Elasticsearch](https://docs.popsink.com/connectors/target/elasticsearch.md#field-types)


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