From 0e5293b9beae7dbef4e40c7f88aa0c3e6c506057 Mon Sep 17 00:00:00 2001 From: timifasubaa <30888507+timifasubaa@users.noreply.github.com> Date: Thu, 21 Jun 2018 16:01:34 -0700 Subject: [PATCH] Update db_engine_specs.py (#5264) --- superset/db_engine_specs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset/db_engine_specs.py b/superset/db_engine_specs.py index 94f957b2f23da..35b64d61d9280 100644 --- a/superset/db_engine_specs.py +++ b/superset/db_engine_specs.py @@ -1001,7 +1001,7 @@ def get_column_names(filepath): s3.upload_file( upload_path, bucket_path, os.path.join(upload_prefix, table_name, filename)) - sql = """CREATE EXTERNAL TABLE {table_name} ( {schema_definition} ) + sql = """CREATE TABLE {table_name} ( {schema_definition} ) ROW FORMAT DELIMITED FIELDS TERMINATED BY ',' STORED AS TEXTFILE LOCATION '{location}' tblproperties ('skip.header.line.count'='1')""".format(**locals())