gpt4 book ai didi

google-bigquery - 错误 : Not found: Dataset my-project-name:domain_public was not found in location US

转载 作者:行者123 更新时间:2023-12-03 15:01:45 28 4
gpt4 key购买 nike

我需要查询公共(public)项目提供的数据集。我创建了自己的项目并将他们的数据集添加到我的项目中。有一个表名为:domain_public .当我对该表进行查询时,我收到此错误:

 Query Failed
Error: Not found: Dataset my-project-name:domain_public was not found in location US
Job ID: my-project-name:US.bquijob_xxxx

我来自非美国国家。请问是什么问题以及如何解决?

编辑 1:
我将处理位置更改为 asia-northeast1 (我在新加坡)但同样的错误:
Error: Not found: Dataset censys-my-projectname:domain_public was not found in location asia-northeast1 

这是我的项目和公共(public)项目 censys-io 的 View :

enter image description here

请指教。

编辑 2:
我以前输入的查询是基于 censys tutorial是:
#standardsql
SELECT domain, alexa_rank
FROM domain_public.current
WHERE p443.https.tls.cipher_suite = 'some_cipher_suite_goes_here';

当我更改 FROM条款:
FROM `censys-io.domain_public.current`

最后一行:
WHERE p443.https.tls.cipher_suite.name = 'some_cipher_suite_goes_here';

有效。我应该明白我应该始终包含 projectname.dataset.table吗? (如果我使用正确的术语)并指出 Censys 的错字?还是出于某种原因这个项目的特殊情况?

最佳答案

BigQuery 找不到您的数据

如何修复它

确保您的 FROM位置包含 3 个部分

  • 一个项目(例如 bigquery-public-data )
  • 数据库(例如 hacker_news )
  • 一张表(例如 stories )

  • 像这样
    `bigquery-public-data.hacker_news.stories`

    *注意反引号

    例子

    错误
    SELECT *
    FROM `stories`

    错误
    SELECT *
    FROM `hacker_news.stories`

    正确
    SELECT *
    FROM `bigquery-public-data.hacker_news.stories`

    关于google-bigquery - 错误 : Not found: Dataset my-project-name:domain_public was not found in location US,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51395256/

    28 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com