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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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())