google-bigquery - 将数组保存到 BigQuery

标签 google-bigquery

我刚刚开始使用 BigQuery,我想知道我是否可以在 native 使用数组,还是应该改用 json 字符串。大查询中未将数组数据类型列为受支持的类型。我需要将用户对象的数组(列表)保存到 BigQuery。

目前最好的方法是什么?

最佳答案

Array data type is not listed on big query as a supported type.



是的,它是受支持的数据类型。来自 the data types documentation :

An ARRAY is an ordered list of zero or more elements of non-ARRAY values.

关于google-bigquery - 将数组保存到 BigQuery,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49537609/

相关文章:

google-bigquery - 如果来自信息架构的 bigquery 属性如何获取策略标记

java - 在 Java SDK 中排序 BigQuery 结果

google-bigquery - 查询给定日期范围内的 BigQuery 表

python - Bigrquery 不能强制整数

android - javax.net.ssl.SSLHandshakeException : Remote host closed connection during handshake while inserting rows in bigquery

java - 无法从 Eclipse 中的本地 App Engine 实例连接到 BigQuery

python - BigQuery 中的allowLargeResults 不起作用

google-bigquery - 在标准 SQL/BigQuery 中将 YYYYMMDD 字符串转换为日期

python - 如何在 Python 中安装 gcp?

google-bigquery - Google BigQuery getQueryResults 为有效的作业 ID 返回 404 错误