Closed sentry-io[bot] closed 4 years ago
example of report that fails on prod
{
"report_parameters": {
"categories": [
"date"
],
"end": "2019-11-21T00:00:00+00:00",
"filters": [
{
"quality_flags": [
"USER FLAGGED",
"NIGHTTIME"
]
}
],
"metrics": [
"r"
],
"name": "nanfail",
"object_pairs": [
{
"forecast": "71628e0a-9a07-11e9-b9ec-0a580a8003d4",
"observation": "c8668c10-7e49-11e9-8534-0a580a8003e9"
}
],
"start": "2019-11-19T00:00:00+00:00"
}
}
for example when a NaN shows up in a metric value, json.dumps() sets the value as NaN and mysql can't interpret it. Instead, probably need some sentinel value to replace nans on inserts and replace with nan on read
Sentry Issue: API-2T