google-cloud
google-cloud copied to clipboard
Handle nullable arrays in BigQuery Sink
BigQuery fields can't be both NULLABLE and REQUIRED. However, it is still possible to insert null arrays BigQuery, which are then converted into empty arrays.
There is then no reason to deny users from using schema with nullable arrays in the BigQuery Sink.
Hi @bdmogal. I updated the unit test for the behavior fixed in this PR and created an issue in JIRA : https://cdap.atlassian.net/browse/PLUGIN-795
Merged as part of https://github.com/data-integrations/google-cloud/pull/1001.