raghav_nayak
05/20/2021, 10:44 AMtap-postgres
to target-bigquery
; and I am getting this error.
target-bigquery | CRITICAL 'type' or 'anyOf' are required fields in property: {}
I tried with another DB, it worked fine without specifying any schema related info. But now, after changing the DB, I am getting the above error. What is the meaning of this?
I could not understand whether this fits in my context: https://github.com/adswerve/target-bigquery/issues/12#issuecomment-805352727
The error is thrown from the code
.meltano/loaders/target-bigquery/venv/lib/python3.8/site-packages/target_bigquery/schema.py", line 22, in get_type\n raise ValueError(\n', "ValueError: 'type' or 'anyOf' are required fields in property: {}
dan_ladd
05/20/2021, 12:22 PM{}
in your catalog?raghav_nayak
05/20/2021, 1:18 PMdan_ladd
05/20/2021, 1:30 PMraghav_nayak
05/20/2021, 5:50 PMraghav_nayak
05/20/2021, 5:51 PM"tap_stream_id": "schema-table_name",
"schema": {
"type": "object",
"properties": {
"created": {
"type": [
"null",
"string"
],
"format": "date-time"
},
"modified": {
"type": [
"null",
"string"
],
"format": "date-time"
},
"id": {
"type": [
"string"
]
},
"candidate_id": {
"type": [
"null",
"string"
]
},
raghav_nayak
05/20/2021, 5:59 PM