Login  Register

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

Posted by Akash R Nilugal (Jira) on Feb 09, 2017; 5:17am
URL: http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/jira-Created-CARBONDATA-700-invalid-example-of-no-inverted-index-in-carbondata-ddl-docs-tp7465.html

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)