mirror of https://github.com/apache/superset.git
quote hive column names (#5368)
This commit is contained in:
parent
19ac6e1231
commit
22b7c2db62
|
@ -1050,7 +1050,8 @@ class HiveEngineSpec(PrestoEngineSpec):
|
|||
for column_info in hive_table_schema['fields']:
|
||||
column_name_and_type.append(
|
||||
'{} {}'.format(
|
||||
column_info['name'], convert_to_hive_type(column_info['type'])))
|
||||
"'" + column_info['name'] + "'",
|
||||
convert_to_hive_type(column_info['type'])))
|
||||
schema_definition = ', '.join(column_name_and_type)
|
||||
|
||||
s3 = boto3.client('s3')
|
||||
|
|
Loading…
Reference in New Issue