From cdae5d61ec8b7f1f31154cb091e303df449c461a Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Tue, 30 Apr 2019 17:53:05 +0200 Subject: [PATCH] Add missing parameter to new BigQuery query runner method. --- redash/query_runner/big_query.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redash/query_runner/big_query.py b/redash/query_runner/big_query.py index 49a25a97fa..552b429cec 100644 --- a/redash/query_runner/big_query.py +++ b/redash/query_runner/big_query.py @@ -201,7 +201,7 @@ def _get_job_data(self, query): def _get_query_result(self, jobs, query): project_id = self._get_project_id() - job_data = self._get_job_data() + job_data = self._get_job_data(query) insert_response = jobs.insert(projectId=project_id, body=job_data).execute() current_row = 0 query_reply = _get_query_results(jobs, project_id=project_id, location=self._get_location(),