Database Ingestion and Replication > Default data-type mappings > Db2 for z/OS Source and Google BigQuery Target
  

Db2 for z/OS Source and Google BigQuery Target

The following table identifies the recommended data-type mappings for Database Ingestion and Replication configurations with a Db2 for z/OS source and a Google BigQuery target:
Db2 for z/OS Source Data Type
Google BigQuery Target Data Type
bigint
int64
binary(size), 1 <= size <= 255
bytes
char for bit data
bytes
char(size) for bit data, 2 <= size <= 255
bytes
char(size), 1 <= size <= 255
string
date
date
decfloat(precision), 16 <= p <= 34
string
decimal(1,1)
numeric
decimal(10,10)
bignumeric
decimal(11,s), 10 <= s <= 11
bignumeric
decimal(12,s), 10 <= s <= 12
bignumeric
decimal(13,s), 10 <= s <= 13
bignumeric
decimal(14,s), 10 <= s <= 14
bignumeric
decimal(15,s), 10 <= s <= 15
bignumeric
decimal(16,s), 10 <= s <= 16
bignumeric
decimal(17,s), 10 <= s <= 17
bignumeric
decimal(18,s), 10 <= s <= 18
bignumeric
decimal(19,s), 10 <= s <= 19
bignumeric
decimal(2,s), 1 <= s <= 2
numeric
decimal(20,s), 10 <= s <= 20
bignumeric
decimal(21,s), 10 <= s <= 21
bignumeric
decimal(22,s), 10 <= s <= 22
bignumeric
decimal(23,s), 10 <= s <= 23
bignumeric
decimal(24,s), 10 <= s <= 24
bignumeric
decimal(25,s), 10 <= s <= 25
bignumeric
decimal(26,s), 10 <= s <= 26
bignumeric
decimal(27,s), 10 <= s <= 27
bignumeric
decimal(28,s), 10 <= s <= 28
bignumeric
decimal(3,s), 1 <= s <= 3
numeric
decimal(31,s), 10 <= s <= 31
bignumeric
decimal(4,s), 1 <= s <= 4
numeric
decimal(5,s), 1 <= s <= 5
numeric
decimal(6,s), 1 <= s <= 6
numeric
decimal(7,s), 1 <= s <= 7
numeric
decimal(8,s), 1 <= s <= 8
numeric
decimal(p,0), 1 <= p <= 18
int64
decimal(p,s), 19 <= p <= 29, 0 <= s <= 9
numeric
decimal(p,s), 29 <= p <= 30, 0 <= s <= 29
bignumeric
decimal(p,s), 30 <= p <= 31, 0 <= s <= 30
bignumeric
decimal(p,s), 9 <= p <= 31, 1 <= s <= 9
numeric
float
float64
integer
int64
long varchar
string
long varchar for bit data
bytes
real
float64
rowid
bytes
smallint
int64
time
time
timestamp(precision) with time zone, 0 <= p <= 6
timestamp
timestamp(precision) with time zone, 7 <= p <= 12
string
timestamp(precision), 0 <= p <= 6
datetime
timestamp(precision), 7 <= p <= 12
string
varbinary(size), 1 <= size <= 32704
bytes
varchar(size) for bit data, 1 <= size <= 32704
bytes
varchar(size), 1 <= size <= 32704
string
Unsupported source data types
Database Ingestion and Replication does not support the following Db2 for z/OS data types:
Database ingestion and replication jobs propagate nulls for columns that have these data types.