mirror of
https://github.com/apache/superset.git
synced 2026-04-18 07:35:09 +00:00
committed by
Maxime Beauchemin
parent
2789385688
commit
2d8a0cc6c9
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user