admin管理员组文章数量:1290096
I'm working with an Avro file that contains an array field where each element can be either null or long. The Avro schema for the field looks something like this:
{
"name": "myArray",
"type": {
"type": "array",
"items": ["null", "long"]
}
}
During the BigQuery load job, null elements in the array are filtered out. I need to preserve these null values as they are represented in the file, but I want to avoid modifying the Avro file.
Is there a way to load the Avro file to preserve the null elements in the array? Are there any configuration options or workarounds? JSON conversions? Default values?
本文标签: google cloud platformPreserving null elements in array when loading Avro to BigQueryStack Overflow
版权声明:本文标题:google cloud platform - Preserving null elements in array when loading Avro to BigQuery - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741489017a2381533.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论