You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@carbondata.apache.org by "anubhav tarar (JIRA)" <ji...@apache.org> on 2017/02/09 05:17:41 UTC

[jira] [Created] (CARBONDATA-700) invalid example of no_inverted_index in carbondata ddl docs

anubhav tarar created CARBONDATA-700:
----------------------------------------

             Summary: invalid example of no_inverted_index in carbondata ddl docs
                 Key: CARBONDATA-700
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-700
             Project: CarbonData
          Issue Type: Bug
            Reporter: anubhav tarar


example given in carbon docs ddl is wrong

0: jdbc:hive2://localhost:10000> 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,productCategory)', 'DICTIONARY_EXCLUDE'='productName', 'DICTIONARY_INCLUDE'='productNumber', 'NO_INVERTED_INDEX'='productBatch');
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)