Database Ingestion and Replication > Default data-type mappings > Db2 for i Source and Snowflake Target
  

Db2 for i Source and Snowflake Target

The following table identifies the recommended data-type mappings for Database Ingestion and Replication configurations with a Db2 for i source and a Snowflake target:
Db2 for i Source Data Type
Snowflake Target Data Type
bigint
integer
binary(size), 1 <= size <= 32766
binary(size), 1 <= size <= 32766
char(size) for bit data, 1 <= size <= 32766
binary(size), 1 <= size <= 32766
char(size), 1 <= size <= 32766
char(size), 4 <= size <= 131064
date
date
decfloat(precision), 16 <= p <= 34
char(255)
decimal(p,s), 1 <= p <= 38, 0 <= s <= 37
number(p,s), 1 <= p <= 38, 0 <= s <= 37
decimal(p,s), 38 <= p <= 63, 0 <= s <= 62
char(size), 40 <= size <= 65
float
float
integer
integer
long varbinary
binary
long varchar
varchar
long varchar for bit data
binary
numeric(p,s), 1 <= p <= 38, 0 <= s <= 37
number(p,s), 1 <= p <= 38, 0 <= s <= 37
numeric(p,s), 38 <= p <= 63, 0 <= s <= 62
char(size), 40 <= size <= 65
real
float
rowid
binary(40)
smallint
integer
time
time(0)
timestamp(precision), 0 <= p <= 9
timestamp_ntz(precision), 0 <= p <= 9
timestamp(precision), 10 <= p <= 12
char(size), 30 <= size <= 32
varbinary(size), 1 <= size <= 32740
binary(size), 1 <= size <= 32740
varchar(size) for bit data, 1 <= size <= 32740
binary(size), 1 <= size <= 32740
varchar(size), 1 <= size <= 32740
varchar(size), 4 <= size <= 130960
Unsupported source data types
Database Ingestion and Replication does not support the following Db2 for i data types:
Database ingestion and replication jobs propagate nulls for columns that have these data types.