carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Liang Chen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CARBONDATA-911) Exception raised while creating table using bucketing example in docs
Date Sat, 15 Apr 2017 08:34:41 GMT

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

Liang Chen resolved CARBONDATA-911.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.1.0-incubating

> Exception raised while creating table using bucketing example in docs
> ---------------------------------------------------------------------
>
>                 Key: CARBONDATA-911
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-911
>             Project: CarbonData
>          Issue Type: Bug
>          Components: docs
>         Environment: Spark 2.1
>            Reporter: Shivangi Gupta
>            Assignee: Shivangi Gupta
>            Priority: Minor
>             Fix For: 1.1.0-incubating
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Exception raised while creating table using bucketing: Column group is not supported
for no dictionary columns
> Steps to reproduce:
> 1. Create table
>  CREATE TABLE IF NOT EXISTS productSchema.productSalesTable (
>                                 productNumber Int,
>                                 productName String,
>                                 storeCity String,
>                                 storeProvince String,
>                                 productCategory String,
>                                 productBatch String,
>                                 saleQuantity Int,
>                                 revenue Int)
>    STORED BY 'carbondata'
>    TBLPROPERTIES ('COLUMN_GROUPS'='(productName,productNumber)',
>                   'DICTIONARY_EXCLUDE'='productName',
>                   'DICTIONARY_INCLUDE'='productNumber',
>                   'NO_INVERTED_INDEX'='productBatch',
>                   'BUCKETNUMBER'='4',
>                   'BUCKETCOLUMNS'='productName');
> 2. Expected result :
> It should create table successfully
> 3. Result on beeline :
> Error: org.apache.carbondata.spark.exception.MalformedCarbonCommandException: Column
group is not supported for no dictionary columns:productname (state=,code=0)



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

Mime
View raw message