This is an automated email from the ASF dual-hosted git repository.
johnbodley pushed a commit to branch john-bodley--db_engine_spec-execute
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to
refs/heads/john-bodley--db_engine_spec-execute by this push:
new a35f1dd721 Update base.py
a35f1dd721 is described below
commit a35f1dd7212f78e652681fb79e2ac4e2394f7341
Author: John Bodley <[email protected]>
AuthorDate: Mon Sep 12 22:27:40 2022 -0700
Update base.py
---
superset/db_engine_specs/base.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/superset/db_engine_specs/base.py b/superset/db_engine_specs/base.py
index 52f79be822..bf65d6502d 100644
--- a/superset/db_engine_specs/base.py
+++ b/superset/db_engine_specs/base.py
@@ -1363,7 +1363,7 @@ class BaseEngineSpec: # pylint:
disable=too-many-public-methods
if cls.arraysize:
cursor.arraysize = cls.arraysize
try:
- cursor.execute(query)
+ cursor.execute(query, **kwargs)
except Exception as ex:
raise cls.get_dbapi_mapped_exception(ex)