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 50CCA200C30 for ; Tue, 21 Feb 2017 02:56:48 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 4F4B4160B79; Tue, 21 Feb 2017 01:56:48 +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 978A0160B73 for ; Tue, 21 Feb 2017 02:56:47 +0100 (CET) Received: (qmail 81692 invoked by uid 500); 21 Feb 2017 01:56:46 -0000 Mailing-List: contact issues-help@carbondata.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@carbondata.incubator.apache.org Delivered-To: mailing list issues@carbondata.incubator.apache.org Received: (qmail 81680 invoked by uid 99); 21 Feb 2017 01:56:46 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Feb 2017 01:56:46 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 6F155C0B0F for ; Tue, 21 Feb 2017 01:56:46 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.999 X-Spam-Level: X-Spam-Status: No, score=0.999 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id h7gRoPmkT9-D for ; Tue, 21 Feb 2017 01:56:45 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 434815F4A8 for ; Tue, 21 Feb 2017 01:56:45 +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 78D42E05C2 for ; Tue, 21 Feb 2017 01:56:44 +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 2349024121 for ; Tue, 21 Feb 2017 01:56:44 +0000 (UTC) Date: Tue, 21 Feb 2017 01:56:44 +0000 (UTC) From: "Jacky Li (JIRA)" To: issues@carbondata.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CARBONDATA-325) Create table with columns contains spaces in name. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 21 Feb 2017 01:56:48 -0000 [ https://issues.apache.org/jira/browse/CARBONDATA-325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacky Li resolved CARBONDATA-325. --------------------------------- Resolution: Fixed Fix Version/s: 1.1.0-incubating > Create table with columns contains spaces in name. > -------------------------------------------------- > > Key: CARBONDATA-325 > URL: https://issues.apache.org/jira/browse/CARBONDATA-325 > Project: CarbonData > Issue Type: Bug > Reporter: Harmeet Singh > Assignee: Harmeet Singh > Fix For: 1.1.0-incubating > > Time Spent: 3h 20m > Remaining Estimate: 0h > > I want to create table, using columns that contains spaces. I am using Thrift Server and Beeline client for accessing carbon data. Whenever i am trying to create a table, and their columns name contains spaces i am getting an error. Below are the steps: > Step 1: > create table three (`first name` string, `age` int) stored by 'carbondata'; > Whenever i am executing above query, i am getting below error: > Error: org.apache.carbondata.spark.exception.MalformedCarbonCommandException: Unsupported data type : FieldSchema(name:first name, type:string, comment:null).getType (state=,code=0) > The above error is pretending to be wrong data types are using. > If I am removing `stored by 'carbondata'` from query, then this will work fine because it is run on Hive. -- This message was sent by Atlassian JIRA (v6.3.15#6346)