ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nitiraj Singh Rathore (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-20181) HiveView2.0: Can not create a table with space in column name with upload table feature
Date Wed, 01 Mar 2017 10:24:45 GMT

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

Nitiraj Singh Rathore updated AMBARI-20181:
-------------------------------------------
    Status: Patch Available  (was: Open)

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

Mime
View raw message