You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by GitBox <gi...@apache.org> on 2020/03/04 02:04:21 UTC

[GitHub] [carbondata] jackylk commented on a change in pull request #3628: [CARBONDATA-3714] Support specify order type when list stage files

jackylk commented on a change in pull request #3628: [CARBONDATA-3714] Support specify order type when list stage files
URL: https://github.com/apache/carbondata/pull/3628#discussion_r387409789
 
 

 ##########
 File path: docs/dml-of-carbondata.md
 ##########
 @@ -334,11 +335,22 @@ CarbonData DML statements are documented here,which includes:
     OPTIONS('batch_file_count'='5')
     ```
 
+  - ##### BATCH_FILE_ORDER: 
+    The order type of stage files in per processing, choices: ASC, DESC.
+    The default is ASC.
+    Stage files will order by the last modified time with the specified order type.
+
+    ``` 
+    OPTIONS('batch_file_order'='DESC')
+    ```
+
   Examples:
   ```
   INSERT INTO table1 STAGE
 
   INSERT INTO table1 STAGE OPTIONS('batch_file_count' = '5')
 
 Review comment:
   Add comment to explain this command will insert the earliest stage files into the table

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


With regards,
Apache Git Services