com.google.api.client.googleapis.json.GoogleJsonResponseException:404 Not Found

时间:2016-10-18 15:22:00

标签: google-bigquery talend

当使用Talend bigquery输入组件(BQ java api)从bigquery读取时,我收到以下错误(对于长时间运行的作业) -

#include "stdafx.h"
#include <iostream>
#include <future>
#include <chrono>

int main()
{
    bool bExit = false;
    int iSeconds = 0; 

    std::thread t([&]()
    {
        std::this_thread::sleep_for(std::chrono::seconds{ 10 });
        bExit = true;
    });

    while (!bExit)
    {
        std::this_thread::sleep_for(std::chrono::seconds{ 1 });
        std::cout << "SECONDS PASSED: " << ++iSeconds << std::endl;
    };

    //t.join();

    std::cout << "PRESS ENTER TO EXIT";
    getchar();

    return 0;
}

这是因为bq在24小时后查询结果不可用时创建的“temporary”表。或者是因为我在查询大型桌子时超出了速率限制?

在任何一种情况下,我如何找到有关此错误的更多详细信息以及我应采取哪些措施来防止此错误?

谢谢!

1 个答案:

答案 0 :(得分:0)

这在Talend中似乎是一个问题,还有其他用户描述了您的问题:https://www.talendforge.org/forum/viewtopic.php?id=44734

  

Google Bigquery有一个属性,即Allowlargeresults但在TBigqueryinput中没有。

  

您好 - 我目前正在使用Talend open studio v6.1.1,此问题仍然存在。

相关问题