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_r387409824
##########
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')
+
+ INSERT INTO table1 STAGE OPTIONS('batch_file_count' = '5',
'batch_file_order'='DESC')
Review comment:
Add comment to explain this command will insert the latest 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:
[email protected]
With regards,
Apache Git Services