Login  Register

Re: why there is a table name option in carbon source format?

Posted by anubhavtarar on Jan 04, 2017; 9:43am
URL: http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/why-there-is-a-table-name-option-in-carbon-source-format-tp5385p5464.html

see this

this is the result of ravinders suggestion that he give me for unusual behavior of carbon thrift server

0: jdbc:hive2://localhost:10000> CREATE TABLE Bug212216(int STRING) stored by 'carbondata' OPTIONS("bucketnumber"="1", "bucketcolumns"="int","tablenName"="t100");
Error: java.lang.RuntimeException: [1.1] failure: identifier matching regex (?i)ALTER expected

CREATE TABLE Bug212216(int STRING) stored by 'carbondata' OPTIONS("bucketnumber"="1", "bucketcolumns"="int","tablenName"="t100")
^ (state=,code=0)

it doesnt work and even

CREATE TABLE Bug221755914(int111 string) stored by 'carbondata';
+---------+--+
| Result  |
+---------+--+
+---------+--+
No rows selected (0.273 seconds)

how does this work it cant be?