Skip to content

MongoDB Data Interpretations

Chris Schulz edited this page Apr 23, 2020 · 4 revisions

MongoDB Data Interpretations

Null Values or not parseable

Our loaders interpret Null values or not parse-able strings:

Int64

If strings can't be parsed into TYPE it will be set to VALUE instead to reserve 0 to actual 0 values

int64 -> math.MinInt64 = -9223372036854775808

Additionally int gets parsed as decimal if normal int parsing fails (some tables state the delay as 10.0 instead of 10 for a 10 min delay)

Float64

float64 -> math.MaxFloat64 = 1.7976931348623157e+308

Timestamp

time -> nil and these null-values will be omitted when loading the data into the database.