You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by hu...@apache.org on 2021/05/27 23:05:14 UTC
[superset] 01/01: Update redshift.py
This is an automated email from the ASF dual-hosted git repository.
hugh pushed a commit to branch db-connection-ui-redshift-fix
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 37e025556a9709ae90a6ef445398c15ac35dbadc
Author: Hugh A. Miles II <hu...@gmail.com>
AuthorDate: Thu May 27 19:04:01 2021 -0400
Update redshift.py
---
superset/db_engine_specs/redshift.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/superset/db_engine_specs/redshift.py b/superset/db_engine_specs/redshift.py
index beff1f6..6b79007 100644
--- a/superset/db_engine_specs/redshift.py
+++ b/superset/db_engine_specs/redshift.py
@@ -50,6 +50,7 @@ class RedshiftEngineSpec(PostgresBaseEngineSpec, BasicParametersMixin):
engine = "redshift"
engine_name = "Amazon Redshift"
max_column_name_length = 127
+ default_driver = "psycopg2"
sqlalchemy_uri_placeholder = (
"redshift+psycopg2://user:password@host:port/dbname[?key=value&key=value...]"