Vandana Yadav created CARBONDATA-920:
----------------------------------------

             Summary: errors while executing create table examples from docs
                 Key: CARBONDATA-920
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-920
             Project: CarbonData
          Issue Type: Improvement
          Components: docs
         Environment: spark 2.1
            Reporter: Vandana Yadav
            Priority: Minor


Examples for creating table in docs throw error while 
execution(docs/useful-tips-on-carbondata.md)

Steps to reproduce:
1. run query from examples to create table
create table carbondata_table(
  Dime_1 String,
  HOST String,
  MSISDN String,
  counter_1 double,
  counter_2 double,
  BEGIN_TIME bigint,
  counter_100 double
  )STORED BY 'org.apache.carbondata.format' 
  TBLPROPERTIES ( 'DICTIONARY_EXCLUDE'='MSISDN,HOST,IMSI',
  'DICTIONARY_INCLUDE'='Dime_1,END_TIME,BEGIN_TIME');

output on beeline:
Error: org.apache.carbondata.spark.exception.MalformedCarbonCommandException: 
DICTIONARY_EXCLUDE column: imsi does not exist in table. Please check create 
table statement. (state=,code=0)

Expected result :
It should create table successfully.




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to