carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacky Li (JIRA)" <>
Subject [jira] [Resolved] (CARBONDATA-325) Create table with columns contains spaces in name.
Date Tue, 21 Feb 2017 01:56:44 GMT


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

View raw message