Update db_engine_specs.py (#5264)

This commit is contained in:
timifasubaa
2018-06-21 16:01:34 -07:00
committed by GitHub
parent 15c8e5bfa9
commit 0e5293b9be

View File

@@ -1001,7 +1001,7 @@ class HiveEngineSpec(PrestoEngineSpec):
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())