carbondata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kunalkap...@apache.org
Subject [carbondata] branch master updated: [CARBONDATA-3259] Added documentation for new complex delimiters
Date Tue, 22 Jan 2019 09:06:21 GMT
This is an automated email from the ASF dual-hosted git repository.

kunalkapoor pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/carbondata.git


The following commit(s) were added to refs/heads/master by this push:
     new a001d9d  [CARBONDATA-3259] Added documentation for new complex delimiters
a001d9d is described below

commit a001d9dd15d05fd819b97f60ecbb774828ec1714
Author: manishnalla1994 <manish.nalla1994@gmail.com>
AuthorDate: Mon Jan 21 10:30:29 2019 +0530

    [CARBONDATA-3259] Added documentation for new complex delimiters
    
    Change of Level_1 and Level_2 Default Complex Delimiters to '\001'
    and '\002' and added new Level_3 delimiter as '\003' in documentation.
    
    This closes #3086
---
 docs/dml-of-carbondata.md | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/docs/dml-of-carbondata.md b/docs/dml-of-carbondata.md
index d26cf19..c8d72ef 100644
--- a/docs/dml-of-carbondata.md
+++ b/docs/dml-of-carbondata.md
@@ -135,7 +135,7 @@ CarbonData DML statements are documented here,which includes:
     Split the complex type data column in a row (eg., a\001b\001c --> Array = {a,b,c}).
 
     ```
-    OPTIONS('COMPLEX_DELIMITER_LEVEL_1'='\\\001')
+    OPTIONS('COMPLEX_DELIMITER_LEVEL_1'='\001')
     ```
 
   - ##### COMPLEX_DELIMITER_LEVEL_2:
@@ -143,7 +143,16 @@ CarbonData DML statements are documented here,which includes:
     Split the complex type nested data column in a row. Applies level_1 delimiter & applies
level_2 based on complex data type (eg., a\002b\001c\002d --> Array> = {{a,b},{c,d}}).
 
     ```
-    OPTIONS('COMPLEX_DELIMITER_LEVEL_2'='\\\002')
+    OPTIONS('COMPLEX_DELIMITER_LEVEL_2'='\002')
+    ```
+
+  - ##### COMPLEX_DELIMITER_LEVEL_3:
+
+    Split the complex type nested data column in a row. Applies level_1 delimiter, applies
level_2 and then level_3 delimiter based on complex data type.
+     Used in case of nested Complex Map type. (eg., 'a\003b\002b\003c\001aa\003bb\002cc\003dd'
--> Array Of Map> = {{a -> b, b -> c},{aa -> bb, cc -> dd}}).
+
+    ```
+    OPTIONS('COMPLEX_DELIMITER_LEVEL_3'='\003')
     ```
 
   - ##### ALL_DICTIONARY_PATH:


Mime
View raw message