Skip to content

Conversation

@meverg
Copy link

@meverg meverg commented Jan 27, 2020

This PR also includes commits from #19 which is still not merged. #19 is a base for this PR.

Trying to use this target with tap-jira I noticed that the target was not able to handle patternProperties feature of the JSON Schema standard.

However in BigQuery JSON schema specification there is no way to represent such field property. So I decided handling it by converting such fields to string both when loading the records and when creating the table schema.

Also with this PR I fixed some minor bugs:

  • Handling schema field with no property definition.
  • logging.error() doesn't have a parameter named sep

And lastly I improved fix_name() function to comply BigQuery table name constraints completely.

@meverg meverg force-pushed the json_schema_pattern_properties branch from dc4b9ab to 13f3a41 Compare January 28, 2020 08:46
@meverg meverg closed this Mar 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants