Open acmiyaguchi opened 4 years ago
See https://github.com/mozilla-services/mozilla-pipeline-schemas/pull/565#discussion_r445056282
echo '{"properties": {"payload": {"properties": {"<unknown>": {"type": "string"}, "foo": {"type": "string"}}}}}' | jsonschema-transpiler -t bigquery [ { "fields": [ { "mode": "NULLABLE", "name": "foo", "type": "STRING" } ], "mode": "NULLABLE", "name": "payload", "type": "RECORD" } ]
This should map $.properties.payload.properties.<unknown> to a field like __unknown__
$.properties.payload.properties.<unknown>
__unknown__
will need to at least track down why this is occurring, even if it's a wontfix
See https://github.com/mozilla-services/mozilla-pipeline-schemas/pull/565#discussion_r445056282
This should map
$.properties.payload.properties.<unknown>
to a field like__unknown__