We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c52b317 commit 9d8d416Copy full SHA for 9d8d416
google/cloud/bigquery/dbapi/cursor.py
@@ -222,7 +222,7 @@ def _try_fetch(self, size=None):
222
223
is_dml = (
224
self._query_job.statement_type
225
- and self._query_job.statement_type.upper() != "SELECT"
+ and self._query_job.statement_type.upper() not in ("SELECT", "SCRIPT")
226
)
227
if is_dml:
228
self._query_data = iter([])
0 commit comments