Repository: carbondata Updated Branches: refs/heads/master 0c9a60e01 -> 6ca03f6b7
[CARBONDATA-2738]Update documentation for Complex datatype Update documentation for Complex datatype This closes #2502 Project: http://git-wip-us.apache.org/repos/asf/carbondata/repo Commit: http://git-wip-us.apache.org/repos/asf/carbondata/commit/6ca03f6b Tree: http://git-wip-us.apache.org/repos/asf/carbondata/tree/6ca03f6b Diff: http://git-wip-us.apache.org/repos/asf/carbondata/diff/6ca03f6b Branch: refs/heads/master Commit: 6ca03f6b7a573638fb8b5ff2da07b624843c3af5 Parents: 0c9a60e Author: Indhumathi27 <[email protected]> Authored: Fri Jul 13 11:56:25 2018 +0530 Committer: kunal642 <[email protected]> Committed: Wed Jul 18 11:53:35 2018 +0530 ---------------------------------------------------------------------- docs/data-management-on-carbondata.md | 7 +++++++ docs/datamap/preaggregate-datamap-guide.md | 1 + 2 files changed, 8 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/carbondata/blob/6ca03f6b/docs/data-management-on-carbondata.md ---------------------------------------------------------------------- diff --git a/docs/data-management-on-carbondata.md b/docs/data-management-on-carbondata.md index 7e171aa..750dc20 100644 --- a/docs/data-management-on-carbondata.md +++ b/docs/data-management-on-carbondata.md @@ -52,6 +52,7 @@ This tutorial is going to introduce all commands and data operations on CarbonDa ``` TBLPROPERTIES ('DICTIONARY_INCLUDE'='column1, column2') ``` + NOTE: Dictionary Include/Exclude for complex child columns is not supported. - **Inverted Index Configuration** @@ -75,6 +76,7 @@ This tutorial is going to introduce all commands and data operations on CarbonDa OR TBLPROPERTIES ('SORT_COLUMNS'='') ``` + NOTE: Sort_Columns for Complex datatype columns is not supported. - **Sort Scope Configuration** @@ -290,6 +292,7 @@ This tutorial is going to introduce all commands and data operations on CarbonDa ``` ALTER TABLE carbon ADD COLUMNS (a1 INT, b1 STRING) TBLPROPERTIES('DEFAULT.VALUE.a1'='10') ``` + NOTE: Add Complex datatype columns is not supported. - **DROP COLUMNS** @@ -306,6 +309,7 @@ This tutorial is going to introduce all commands and data operations on CarbonDa ALTER TABLE carbon DROP COLUMNS (c1,d1) ``` + NOTE: Drop Complex child column is not supported. - **CHANGE DATA TYPE** @@ -656,6 +660,7 @@ This tutorial is going to introduce all commands and data operations on CarbonDa ``` UPDATE t3 SET (t3_country, t3_salary) = (SELECT t5_country, t5_salary FROM t5 FULL JOIN t3 u WHERE u.t3_id = t5_id and t5_id=6) WHERE t3_id >6 ``` + NOTE: Update Complex datatype columns is not supported. ### DELETE @@ -725,6 +730,7 @@ This tutorial is going to introduce all commands and data operations on CarbonDa ``` ALTER TABLE table_name COMPACT 'CUSTOM' WHERE SEGMENT.ID IN (2,3,4) ``` + NOTE: Compaction is unsupported for table containing Complex columns. - **CLEAN SEGMENTS AFTER Compaction** @@ -765,6 +771,7 @@ This tutorial is going to introduce all commands and data operations on CarbonDa PARTITIONED BY (productCategory STRING, productBatch STRING) STORED BY 'carbondata' ``` + NOTE: Hive partition is not supported on complex datatype columns. #### Load Data Using Static Partition http://git-wip-us.apache.org/repos/asf/carbondata/blob/6ca03f6b/docs/datamap/preaggregate-datamap-guide.md ---------------------------------------------------------------------- diff --git a/docs/datamap/preaggregate-datamap-guide.md b/docs/datamap/preaggregate-datamap-guide.md index ce7cbcc..d85f527 100644 --- a/docs/datamap/preaggregate-datamap-guide.md +++ b/docs/datamap/preaggregate-datamap-guide.md @@ -244,6 +244,7 @@ is not supported: change datatype command, CarbonData will check whether it will impact the pre-aggregate table, if not, the operation is allowed, otherwise operation will be rejected by throwing exception. 3. Partition management command: `ALTER TABLE ADD/DROP PARTITION` +4. Complex Datatypes for preaggregate is not supported. However, there is still way to support these operations on main table, in current CarbonData release, user can do as following:
