matt_cooley
03/12/2022, 4:46 AMtap-postgres
. Basically, it’s writing all Integer
types as Numeric
. The catalog (and in debug mode) are emitting a schema of type integer
but the result is numeric
. I’m not sure if I’m missing something obvious here, but I’m not seeing it.
Here’s an example of a schema:
{
"type": "SCHEMA",
"stream": "assignments",
"schema": {
"properties": {
"id": {
"type": [
"integer",
"null"
]
},
"description": {
"type": [
"string",
"null"
]
},
"due_at": {
"format": "date-time",
"type": [
"string",
"null"
]
},
"points_possible": {
"type": [
"number",
"null"
]
},
"grading_type": {
"type": [
"string",
"null"
]
},
"assignment_group_id": {
"type": [
"integer",
"null"
]
},
"grading_standard_id": {
"type": [
"integer",
"null"
]
},
"created_at": {
"format": "date-time",
"type": [
"string",
"null"
]
},
"updated_at": {
"format": "date-time",
"type": [
"string",
"null"
]
},
"course_id": {
"type": [
"integer",
"null"
]
},
"name": {
"type": [
"string",
"null"
]
},
"rubric": {
"type": [
"string",
"null"
]
},
"published": {
"type": [
"boolean",
"null"
]
}
},
"type": "object"
},
"key_properties": [
"id"
]
}
matt_cooley
03/12/2022, 6:01 AMnumeric
(link)aaron_phethean
03/14/2022, 10:15 AM