[GitHub] qiuchenjian commented on a change in pull request #3086: [CARBONDATA-3259] Added documentation for new complex delimiters

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[GitHub] qiuchenjian commented on a change in pull request #3086: [CARBONDATA-3259] Added documentation for new complex delimiters

GitBox
qiuchenjian commented on a change in pull request #3086: [CARBONDATA-3259] Added documentation for new complex delimiters
URL: https://github.com/apache/carbondata/pull/3086#discussion_r249333319
 
 

 ##########
 File path: docs/dml-of-carbondata.md
 ##########
 @@ -135,15 +135,24 @@ 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:
 
     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., '1\0032\0022\0033\001100\003200\002200\003300' --> Array Of Map> = {{1 -> 2, 2 -> 3},{100 -> 200, 200 -> 300}}).
 
 Review comment:
   better to use string instead of int in the example, because it's confused with level delimiter
   such as '1\0032\0022\0033\001100\003200\002200\003300'  ---> 'a\003b\002b\003c\001aaa\003bbb\002bbb\003ccc'

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[hidden email]


With regards,
Apache Git Services