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_r387410408
##########
File path:
integration/spark/src/main/scala/org/apache/spark/sql/execution/command/management/CarbonInsertFromStageCommand.scala
##########
@@ -551,3 +569,21 @@ case class CarbonInsertFromStageCommand(
override protected def opName: String = "INSERT STAGE"
}
+
+object CarbonInsertFromStageCommand {
+
+ val DELETE_FILES_RETRY_TIMES = 3
+
+ val BATCH_FILE_COUNT_KEY = "batch_file_count"
+
+ val BATCH_FILE_COUNT_DEFAULT: String = Integer.MAX_VALUE.toString
+
+ val BATCH_FILE_ORDER_KEY = "batch_file_order"
+
+ val BATCH_FILE_ORDER_ASC = "ASC"
+
+ val BATCH_FILE_ORDER_DESC = "DESC"
Review comment:
Add comment to explain that use this option 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