GitHub user anubhav100 opened a pull request:
https://github.com/apache/incubator-carbondata/pull/595
[CARBONDATA-700]corrected doc for ddl operation using no_inverted_index
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)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/anubhav100/incubator-carbondata CARBONDATA-700
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-carbondata/pull/595.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #595
----
commit e6218624e5b189ae540fc4614337022a5fc16a92
Author: anubhav100 <[email protected]>
Date: 2017-02-09T05:19:26Z
corrected doc for ddl operation using no_inverted_index
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---