[jira] [Assigned] (CARBONDATA-1038) DICTIONARY_EXCLUDE is not working for string datatype when used with Spark Datasource DDL

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

[jira] [Assigned] (CARBONDATA-1038) DICTIONARY_EXCLUDE is not working for string datatype when used with Spark Datasource DDL

Akash R Nilugal (Jira)

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

Kunal Kapoor reassigned CARBONDATA-1038:
----------------------------------------

    Assignee: Kunal Kapoor

> DICTIONARY_EXCLUDE is not working for string datatype when used with Spark Datasource DDL
> -----------------------------------------------------------------------------------------
>
>                 Key: CARBONDATA-1038
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-1038
>             Project: CarbonData
>          Issue Type: Bug
>          Components: data-query
>         Environment: spark 2.1
>            Reporter: Neha Bhardwaj
>            Assignee: Kunal Kapoor
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> DICTIONARY_EXCLUDE is throwing exception for string datatype when used Spark Datasource DDL
> Steps to reproduce:
> CREATE TABLE IF NOT EXISTS uniq_product( productNumber Int, productName String, storeCity String, storeProvince String,
> productCategory String, productBatch String, saleQuantity Int, revenue Int) USING
> org.apache.spark.sql.CarbonSource OPTIONS('COLUMN_GROUPS'='(productCategory)',
>  'DICTIONARY_EXCLUDE'='productName', 'DICTIONARY_INCLUDE'='productNumber',
>  'NO_INVERTED_INDEX'='productBatch','bucketnumber'='1', 'bucketcolumns'='productNumber','tableName'='uniq_product');
> Expected Output :
> Table should get created.
> Actual Output :
> Error: org.apache.carbondata.spark.exception.MalformedCarbonCommandException: DICTIONARY_EXCLUDE is unsupported for stringtype data type column: productname (state=,code=0)



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