From 081720922087f76dad3507ce18bfaa4160c637f2 Mon Sep 17 00:00:00 2001 From: Scott Baker Date: Thu, 20 Mar 2014 15:07:06 -0700 Subject: [PATCH] longer timeout for bigquery queries --- planetstack/hpc_wizard/bigquery_analytics.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/planetstack/hpc_wizard/bigquery_analytics.py b/planetstack/hpc_wizard/bigquery_analytics.py index 44b5dbd..29b8c28 100644 --- a/planetstack/hpc_wizard/bigquery_analytics.py +++ b/planetstack/hpc_wizard/bigquery_analytics.py @@ -66,7 +66,8 @@ class BigQueryAnalytics: service = build('bigquery', 'v2', http=http) - body = {"query": query} + body = {"query": query, + "timeoutMs": 30000} response = service.jobs().query(projectId=PROJECT_NUMBER, body=body).execute() return response -- 2.43.0