Indhumathi27 commented on a change in pull request #4051:
URL: https://github.com/apache/carbondata/pull/4051#discussion_r544064420



##########
File path: core/src/main/java/org/apache/carbondata/core/util/TrashUtil.java
##########
@@ -157,11 +157,12 @@ public static void deleteExpiredDataFromTrash(String 
tablePath) {
     // Deleting the timestamp based subdirectories in the trashfolder by the 
given timestamp.
     try {
       if (FileFactory.isFileExist(trashPath)) {

Review comment:
       ```suggestion
         CarbonFile trashFile = FileFactory.getCarbonFile(trashPath);
         if (trashFile.exists()) {
           CarbonFile[] timestampFolderList = trashFile.listFiles();
   ```




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to