[ 
https://issues.apache.org/jira/browse/AMBARI-20181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nitiraj Singh Rathore updated AMBARI-20181:
-------------------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

committed patch to branch-2.5 and trunk

> 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
>          Components: ambari-views
>    Affects Versions: 2.5.0
>            Reporter: Yesha Vora
>            Assignee: Nitiraj Singh Rathore
>            Priority: Critical
>         Attachments: AMBARI-20181_branch-2.5_2.patch
>
>
> 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)

Reply via email to