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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Akash R Nilugal (Jira)

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

Liang Chen resolved CARBONDATA-920.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.2.0

> 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: 2h 10m
>  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)