-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 Destination bigquery denormalize "allOf" and "anyOf" fix (#11166)
* fix bug with anyOf and allOf json blocks * updated tests and formatter * clean code * updated tests * updated destination_specs yaml file * updated version of connector and docs
- Loading branch information
1 parent
2876fe7
commit 72dcd81
Showing
12 changed files
with
297 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
...ation-bigquery-denormalized/src/test-integration/resources/testdata/dataAnyOfFormats.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"id": "ID", | ||
"name": "Andrii", | ||
"type": "some_type", | ||
"email": "[email protected]", | ||
"avatar": { | ||
"image_url": "url_to_avatar.jpg" | ||
}, | ||
"team_ids": { | ||
"big_query_array": [1, 2, 3], | ||
"big_query_null": null | ||
}, | ||
"admin_ids": { | ||
"big_query_array": [], | ||
"big_query_null": null | ||
}, | ||
"all_of_field": { | ||
"big_query_array": [4, 5, 6], | ||
"big_query_string": "Some text", | ||
"big_query_integer": 42 | ||
}, | ||
"job_title": "title", | ||
"has_inbox_seat": true, | ||
"away_mode_enabled": false, | ||
"away_mode_reassign": false | ||
} |
9 changes: 9 additions & 0 deletions
9
...y-denormalized/src/test-integration/resources/testdata/dataAnyOfFormatsWithEmptyList.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"name": "Sergii", | ||
"team_ids": [], | ||
"all_of_field": { | ||
"big_query_array": [4, 5, 6], | ||
"big_query_string": "Some text", | ||
"big_query_integer": 42 | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
...gquery-denormalized/src/test-integration/resources/testdata/dataAnyOfFormatsWithNull.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"name": "Mukola", | ||
"team_ids": null, | ||
"all_of_field": null, | ||
"avatar": null | ||
} |
Oops, something went wrong.