You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@carbondata.apache.org by ra...@apache.org on 2017/04/18 12:04:13 UTC
[37/50] incubator-carbondata git commit: updation in file
ddl-operation-on-carbondata.md
updation in file ddl-operation-on-carbondata.md
Project: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/commit/ad738544
Tree: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/tree/ad738544
Diff: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/diff/ad738544
Branch: refs/heads/branch-1.1
Commit: ad738544b68ce2bbfce995c80ad1cfbbf705d6b3
Parents: 69ba223
Author: shivangi <sh...@knoldus.in>
Authored: Wed Apr 12 13:11:09 2017 +0530
Committer: chenliang613 <ch...@huawei.com>
Committed: Sat Apr 15 16:28:50 2017 +0800
----------------------------------------------------------------------
docs/ddl-operation-on-carbondata.md | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-carbondata/blob/ad738544/docs/ddl-operation-on-carbondata.md
----------------------------------------------------------------------
diff --git a/docs/ddl-operation-on-carbondata.md b/docs/ddl-operation-on-carbondata.md
index 2744691..d9d5718 100644
--- a/docs/ddl-operation-on-carbondata.md
+++ b/docs/ddl-operation-on-carbondata.md
@@ -68,8 +68,8 @@ The following DDL operations are supported in CarbonData :
Column groups with more than one column are stored in row format, instead of columnar format. By default, each column is a separate column group.
```
-TBLPROPERTIES ('COLUMN_GROUPS'='(column1, column3),
-(Column4,Column5,Column6)')
+TBLPROPERTIES ('COLUMN_GROUPS'='(column1, column2),
+(Column3,Column4,Column5)')
```
- **Table Block Size Configuration**
@@ -214,17 +214,17 @@ of columns is used.
```
CREATE TABLE IF NOT EXISTS productSchema.productSalesTable (
productNumber Int,
+ saleQuantity Int,
productName String,
storeCity String,
storeProvince String,
productCategory String,
productBatch String,
- saleQuantity Int,
revenue Int)
STORED BY 'carbondata'
- TBLPROPERTIES ('COLUMN_GROUPS'='(productName,productNumber)',
+ TBLPROPERTIES ('COLUMN_GROUPS'='(productNumber,saleQuantity)',
'DICTIONARY_EXCLUDE'='productName',
- 'DICTIONARY_INCLUDE'='productNumber',
+ 'DICTIONARY_INCLUDE'='productNumber,saleQuantity',
'NO_INVERTED_INDEX'='productBatch',
'BUCKETNUMBER'='4',
'BUCKETCOLUMNS'='productName')