Github user manishgupta88 commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2868#discussion_r229363551
--- 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 --
ok
---