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 2019/01/30 10:39:06 UTC

[carbondata] 02/27: [CARBONDATA-3259] Added documentation for new complex delimiters

This is an automated email from the ASF dual-hosted git repository.

ravipesala pushed a commit to branch branch-1.5
in repository https://gitbox.apache.org/repos/asf/carbondata.git

commit 625f390527a37c6a9b3fb7ba43dfc4d3cf404ec7
Author: manishnalla1994 <ma...@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: