You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "Vandana Yadav (JIRA)" <ji...@apache.org> on 2017/11/23 10:19:00 UTC

[jira] [Closed] (CARBONDATA-920) errors while executing create table examples from docs

     [ https://issues.apache.org/jira/browse/CARBONDATA-920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vandana Yadav closed CARBONDATA-920.
------------------------------------

resolved

> 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
>            Assignee: Vandana Yadav
>            Priority: Minor
>             Fix For: 1.2.0
>
>          Time Spent: 3h
>  Remaining Estimate: 0h
>
> 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.4.14#64029)