Yesha Vora created AMBARI-20181:
-----------------------------------
Summary: HiveView2.0: Can not create a table with space in column
name with upload table feature
Key: AMBARI-20181
URL: https://issues.apache.org/jira/browse/AMBARI-20181
Project: Ambari
Issue Type: Bug
Reporter: Yesha Vora
Priority: Critical
Scenario:
* Go to HiveView
* Go to table tab
* Click on Upload table
* Upload a CSV file such that it column name has a space in it.
* Click on create table.
The table creation failed because it does not add `` in the column name where
it has space or other special chars.
Currently, table creation is failing with below error.
{code}
org.apache.hive.service.cli.HiveSQLException: Error while compiling statement:
FAILED: SemanticException [Error 10004]: Line 1:56 Invalid table alias or
column reference 'Issue': (possible column names are: summary, issue key, issue
id, parent id, issue type, status, project key, project name, project type,
project lead, project description, project url, priority, resolution, assignee,
reporter, creator, affects version, fix versions, component, labels){code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)