[GitHub] [carbondata] ajantha-bhat commented on a change in pull request #4013: [CARBONDATA-4062] Make clean files as data trash manager
Posted by
GitBox on
Dec 03, 2020; 6:43am
URL: http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/GitHub-carbondata-QiangCai-opened-a-new-pull-request-4013-WIP-Remove-automatically-clean-data-tp103289p104130.html
ajantha-bhat commented on a change in pull request #4013:
URL:
https://github.com/apache/carbondata/pull/4013#discussion_r534743440##########
File path: core/src/main/java/org/apache/carbondata/core/util/TrashUtil.java
##########
@@ -192,12 +192,9 @@ public static void emptyTrash(String tablePath) {
}
/**
- * This will tell whether the trash retention time has expired or not
- *
- * @param fileTimestamp
- * @return
+ * whether trash data inside of .Trash folder is time out
Review comment:
now we are using this for data outside trash also, so change the description.
`returns true, if the current timestamp has expired based on carbon.trash.retention.days `
----------------------------------------------------------------
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]