Vika Petrenko
05/31/2021, 9:38 PMs
Vika Petrenko
05/31/2021, 10:25 PMVika Petrenko
06/02/2021, 1:15 AMget_json_schema
method, but seems it isn’t called.
• For dynamic schema I shouldn’t create a stream_name.json
file?
• what to define in properties in configured_catalog.json
?
• are there an examples of dynamic schema? thanks!s
Vika Petrenko
06/02/2021, 9:46 AMget_json_schema
and return right json schema based on survey_id?
Also, as a workaround it would be ok to have one struct field in BigQuery and put all survey data here. Are there any recommendations how to do this way?Vika Petrenko
06/02/2021, 11:42 AMrecord
in BigQuery? I am configuring like this
"fields": {
"properties": {},
"type": ["null", "object"],
"additionalProperties": true
}
but in table it is still string
It is possible to query by string field using JSON_EXTRACT_SCALAR(fields, "$.ResponseId")
but not sure it is efficients
Is it the right way to overrideYes that is the correct way — is that something you can do on your end?and return right json schema based on survey_id?get_json_schema
would be ok to have one struct field in BigQueryAirbyte’s normalization currently doesn’t support writing STRUCTs to Bigquery natively. We have an issue open for this and expect to support it in 3-4 weeks: https://github.com/airbytehq/airbyte/issues/1927 For the time being the workaround is to use JSON_EXTRACT_SCALAR (which is not great, but we’re working on it 🙂 )
Vika Petrenko
06/03/2021, 12:53 PM