diff --git a/superset/db_engine_specs.py b/superset/db_engine_specs.py index 6d1be23a4746..e24627cc3354 100644 --- a/superset/db_engine_specs.py +++ b/superset/db_engine_specs.py @@ -867,9 +867,8 @@ def get_column_names(filepath): 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