Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 161BA200C2A for ; Wed, 1 Mar 2017 11:25:49 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 14BA4160B70; Wed, 1 Mar 2017 10:25:49 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5450C160B5E for ; Wed, 1 Mar 2017 11:25:48 +0100 (CET) Received: (qmail 43336 invoked by uid 500); 1 Mar 2017 10:25:47 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 43327 invoked by uid 99); 1 Mar 2017 10:25:47 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Mar 2017 10:25:47 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 1E92D1A061A for ; Wed, 1 Mar 2017 10:25:47 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.547 X-Spam-Level: X-Spam-Status: No, score=-1.547 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-2.999, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id qsUeu7pK4CzI for ; Wed, 1 Mar 2017 10:25:46 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 1BFAD5F2C5 for ; Wed, 1 Mar 2017 10:25:46 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 7F38FE0238 for ; Wed, 1 Mar 2017 10:25:45 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 3D64424156 for ; Wed, 1 Mar 2017 10:25:45 +0000 (UTC) Date: Wed, 1 Mar 2017 10:25:45 +0000 (UTC) From: "Nitiraj Singh Rathore (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-20181) HiveView2.0: Can not create a table with space in column name with upload table feature MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 01 Mar 2017 10:25:49 -0000 [ https://issues.apache.org/jira/browse/AMBARI-20181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nitiraj Singh Rathore updated AMBARI-20181: ------------------------------------------- Attachment: AMBARI-20181_branch-2.5.patch > 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.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)