Github user jackylk commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/2868#discussion_r229283191
  
    --- Diff: 
core/src/main/java/org/apache/carbondata/core/datastore/filesystem/LocalCarbonFile.java
 ---
    @@ -141,7 +141,12 @@ public boolean renameTo(String changetoName) {
       }
     
       public boolean delete() {
    -    return file.delete();
    +    try {
    +      return deleteFile(file.getAbsolutePath(), 
FileFactory.getFileType(file.getAbsolutePath()));
    +    } catch (IOException e) {
    +      LOGGER.error("Exception occurred:" + e.getMessage());
    --- End diff --
    
    include the exception in the error log


---

Reply via email to