MainTargetsDuckdb

Data Types

Data Types Mapping

Arrow TypeDuckDB TypeNotes
Int8TINYINT
Int16SMALLINT
Int32INTEGER
Int64BIGINT
UInt8UTINYINT
UInt16USMALLINT
UInt32UINTEGER
UInt64UBIGINT
Float16FLOAT
Float32FLOAT
Float64DOUBLE
Decimal128(p,s)DECIMAL(p,s)Falls back to VARCHAR when precision exceeds 38
Decimal256(p,s)DECIMAL(p,s)Falls back to VARCHAR when precision exceeds 38

Nullability

Nullable source columns are nullable on the target. All columns except primary keys are nullable by default to handle CDC edge cases. Enable preserve_source_nullability to carry over NOT NULL constraints from the source schema.

Last updated on

On this page