carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vandana Yadav (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CARBONDATA-920) errors while executing create table examples from docs
Date Thu, 13 Apr 2017 06:28:41 GMT
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)

Mime
View raw message