Posted by
GitBox on
Dec 03, 2020; 3:55pm
URL: http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/GitHub-carbondata-vikramahuja1001-opened-a-new-pull-request-4035-WIP-CleanFiles-Behaviour-Change-tp104048p104213.html
akashrn5 commented on a change in pull request #4035:
URL:
https://github.com/apache/carbondata/pull/4035#discussion_r535359069##########
File path: integration/spark/src/main/scala/org/apache/spark/sql/execution/command/management/CarbonCleanFilesCommand.scala
##########
@@ -58,8 +58,11 @@ case class CarbonCleanFilesCommand(
var carbonTable: CarbonTable = _
var cleanFileCommands: List[CarbonCleanFilesCommand] = List.empty
val optionsMap = options.getOrElse(List.empty[(String, String)]).toMap
- // forceClean will empty trash
+ // forceClean will clean the MFD and Compacted segments immediately and also empty the trash
+ // folder
val forceClean = optionsMap.getOrElse("force", "false").toBoolean
+ // stale_inprogress will clean the In Progress segments
Review comment:
update comment saying, it will clean based on retention time and it will clean immediately when force is true
----------------------------------------------------------------
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:
[hidden email]