[
https://issues.apache.org/jira/browse/CARBONDATA-1038?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ravindra Pesala resolved CARBONDATA-1038.
-----------------------------------------
Resolution: Duplicate
duplicated to
https://issues.apache.org/jira/browse/CARBONDATA-829> 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: 0.5h
> 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)