google-bigquery - 大查询 : Get schema for query without actually running it

标签 google-bigquery

有没有办法在不实际运行的情况下获取 bigquery 查询的架构? (我试过 DryRun,但它只返回统计数据,没有实际的模式)

最佳答案

没有运行查询就可以获取模式的好方法。但是, 有一种 hacky 方法可以做到这一点。

您可以使用要 checkout 的查询创建 View 。然后,该 View 将具有运行该查询所产生的模式。然后,您可以在完成后删除该 View 。

关于google-bigquery - 大查询 : Get schema for query without actually running it,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35416212/

相关文章:

google-bigquery - 谷歌大查询限制子句返回太多行

google-bigquery - 共享对 Google Bigquery 数据集的访问权限

sql - 验证 BigQuery 中的第一个嵌套页面行是否包含自定义维度值

google-bigquery - 如果指定了 DISTINCT,则不允许使用 BigQuery 窗口 ORDER BY

google-bigquery - Google BigQuery - 嵌套字段或表连接

google-bigquery - 如何创建包含时间戳列的 TableView ?

sql - 谷歌大查询 : Forward Filling: IGNORE in Window Function

python - 使用 python-api-client 的异步 insertAll 请求

google-bigquery - 奇怪的问题: Bigquery dataset not found

google-bigquery - 选择分组依据不起作用