【问题标题】:'Allow Large Results' option in Browser Tool is not honored不支持浏览器工具中的“允许大结果”选项
【发布时间】:2015-05-20 03:16:44
【问题描述】:

我正在尝试查询一个相对较小的表(130 万行,517MB)并在其中一列上执行order by。结果配置为写入另一个表并选中“允许大结果”。但 BigQuery 仍然给出错误:

Error: Response too large to return. Consider setting allowLargeResults to true in your job configuration. For more details, see https://cloud.google.com/bigquery/querying-data#largequeryresults

示例作业:gdfp-7415:job_asEyhGwqdrCwllhxCOGGE5osHlE

为什么这不起作用?

【问题讨论】:

    标签: google-bigquery


    【解决方案1】:

    这不起作用:

    SELECT *
    FROM [wikipedia_benchmark.Wiki10M]
    
    "Response too large to return."
    

    这行得通:

    SELECT *
    FROM [wikipedia_benchmark.Wiki10M]
    [x] Allow Large Results
    

    这不起作用:

    SELECT *
    FROM [wikipedia_benchmark.Wiki10M]
    ORDER BY title
    [x] Allow Large Results
    
    "Response too large to return."
    

    问题是您不能将“ORDER BY”与“允许大结果”一起使用。这是因为“允许大结果”分配输出作业,而不是在一个节点中收集所有内容。由于输出是分布式的,所以没有根节点来运行排序。

    这里的一个明显问题是错误消息对此并不明确。对不起!

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-08-29
      • 1970-01-01
      • 2012-04-30
      • 1970-01-01
      相关资源
      最近更新 更多