我在bigquery中遇到错误:
错误:响应太大而无法返回。
经过几次谷歌搜索,我发现解决方法是设置配置.query.allowLargeResults = true
但不确定如何在bq命令行工具中传递此属性值。
任何帮助?
由于
答案 0 :(得分:3)
$ bq help query
USAGE: bq.py [--global_flags] <command> [--command_flags] [args]
[...]
--[no]allow_large_results: Enables larger destination table sizes
--destination_table: Name of destination table for query results.
所以:
$ bq query --allow_large_results --destination_table "dataset.table" "SELECT 1"