You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@carbondata.apache.org by Harmeet Singh <ha...@knoldus.com> on 2016/10/19 05:04:00 UTC
Create table with columns contains spaces in name.
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 am going to remove `stored by 'carbondata'` on query, this will work
fine.
Please confirm this is an issue of carbon data or carbon data is not support
column name with spaces ?
--
View this message in context: http://apache-carbondata-mailing-list-archive.1130556.n5.nabble.com/Create-table-with-columns-contains-spaces-in-name-tp2030.html
Sent from the Apache CarbonData Mailing List archive mailing list archive at Nabble.com.
Re: Create table with columns contains spaces in name.
Posted by Harmeet Singh <ha...@knoldus.com>.
Hey Liang,
Sure I will be fix that issue.
--
View this message in context: http://apache-carbondata-mailing-list-archive.1130556.n5.nabble.com/Create-table-with-columns-contains-spaces-in-name-tp2030p2044.html
Sent from the Apache CarbonData Mailing List archive mailing list archive at Nabble.com.
Re: Create table with columns contains spaces in name.
Posted by Liang Chen <ch...@gmail.com>.
Hi Harmeet
Thank you reported this issue.
Would you like to fix this issue?
Regards
Liang
Harmeet Singh wrote
> Thanks ravi, I will be raise on Jira.
--
View this message in context: http://apache-carbondata-mailing-list-archive.1130556.n5.nabble.com/Create-table-with-columns-contains-spaces-in-name-tp2030p2039.html
Sent from the Apache CarbonData Mailing List archive mailing list archive at Nabble.com.
Re: Create table with columns contains spaces in name.
Posted by Harmeet Singh <ha...@knoldus.com>.
Thanks ravi, I will be raise on Jira.
--
View this message in context: http://apache-carbondata-mailing-list-archive.1130556.n5.nabble.com/Create-table-with-columns-contains-spaces-in-name-tp2030p2035.html
Sent from the Apache CarbonData Mailing List archive mailing list archive at Nabble.com.
Re: Create table with columns contains spaces in name.
Posted by ravipesala <ra...@gmail.com>.
Probably it is a bug.
--
View this message in context: http://apache-carbondata-mailing-list-archive.1130556.n5.nabble.com/Create-table-with-columns-contains-spaces-in-name-tp2030p2034.html
Sent from the Apache CarbonData Mailing List archive mailing list archive at Nabble.com.