superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maximebeauche...@apache.org
Subject [incubator-superset] branch master updated: fix uri form data' (#4345)
Date Tue, 06 Feb 2018 04:49:40 GMT
This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 2d8a0cc  fix uri form data' (#4345)
2d8a0cc is described below

commit 2d8a0cc6c9342a88a18e145b4b59519cd0aa6c9c
Author: timifasubaa <30888507+timifasubaa@users.noreply.github.com>
AuthorDate: Mon Feb 5 20:49:37 2018 -0800

    fix uri form data' (#4345)
    
    '
---
 superset/db_engine_specs.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/superset/db_engine_specs.py b/superset/db_engine_specs.py
index 6d1be23..e24627c 100644
--- a/superset/db_engine_specs.py
+++ b/superset/db_engine_specs.py
@@ -867,9 +867,8 @@ class HiveEngineSpec(PrestoEngineSpec):
         sql = """CREATE EXTERNAL TABLE {table_name} ( {schema_definition} )
             ROW FORMAT DELIMITED FIELDS TERMINATED BY ',' STORED AS
             TEXTFILE LOCATION '{location}'""".format(**locals())
-
         logging.info(form.con.data)
-        engine = create_engine(form.con.data)
+        engine = create_engine(form.con.data.sqlalchemy_uri)
         engine.execute(sql)
 
     @classmethod

-- 
To stop receiving notification emails like this one, please contact
maximebeauchemin@apache.org.

Mime
View raw message