carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neha Bhardwaj (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CARBONDATA-1038) DICTIONARY_EXCLUDE is not working for string datatype when used with Spark Datasource DDL
Date Mon, 08 May 2017 08:45:04 GMT
Neha Bhardwaj created CARBONDATA-1038:
-----------------------------------------

             Summary: 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
            Priority: Minor


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)

Mime
View raw message