Database Ingestion and Replication > Default data-type mappings > PostgreSQL Source and Snowflake Target
  

PostgreSQL Source and Snowflake Target

The following table identifies the recommended data-type mappings for Database Ingestion and Replication configurations with a PostgreSQL source and a Snowflake target:
PostgreSQL Source Data Type
Snowflake Target Data Type
bigint
number
bit varying(precision), 1 <= p <= 83886080
binary(size), 1 <= size <= 6291457
bit(precision), 1 <= p <= 83886080
binary(size), 1 <= size <= 6291457
boolean
boolean
box
binary(115)
character varying(size), 1 <= size <= 10485760
varchar(size), 4 <= size <= 16776004
character(size), 1 <= size <= 10485760
varchar(size), 4 <= size <= 16776004
cidr
varchar(45)
circle
binary(87)
date
date
daterange
varchar(29)
double precision
float
inet
varchar(45)
int4range
varchar(25)
int8range
varchar(43)
integer
integer
json
variant
jsonb
variant
line
binary(85)
lseg
binary(117)
macaddr
varchar(17)
macaddr8
varchar(23)
money
number(19,2)
numeric
varchar(131074)
numeric(p,s), 1 <= p <= 38, 0 <= s <= 37
number(p,s), 1 <= p <= 38, 0 <= s <= 37
numeric(p,s), 38 <= p <= 1000, 38 <= s <= 1000
varchar(size), 41 <= size <= 1003
numrange
varchar(294917)
path
binary
point
binary(57)
polygon
binary
real
float
smallint
number
time(precision) with time zone, 0 <= p <= 6
timestamp_tz(precision), 0 <= p <= 6
time(precision) without time zone, 0 <= p <= 6
time(precision), 0 <= p <= 6
timestamp(precision) with time zone, 0 <= p <= 6
timestamp_tz(precision), 0 <= p <= 6
timestamp(precision) without time zone, 0 <= p <= 6
timestamp_ntz(precision), 0 <= p <= 6
tsrange
varchar(63)
tstzrange
varchar(75)
uuid
varchar
xml
variant
Limitations
Unsupported source data types
For initial load jobs, Database Ingestion and Replication does not support the following PostgreSQL data types:
For incremental load and initial and incremental load jobs, Database Ingestion and Replication does not support the following PostgreSQL data types, in addition to those not supported for initial load jobs:
Database ingestion and replication jobs either fail to deploy or propagate nulls for columns that have these data types.