Github user jackylk commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2340#discussion_r191330412
--- Diff:
core/src/main/java/org/apache/carbondata/core/datastore/filesystem/HDFSCarbonFile.java
---
@@ -120,7 +120,8 @@ public boolean renameForce(String changetoName) {
((DistributedFileSystem) fs).rename(fileStatus.getPath(), new
Path(changetoName),
org.apache.hadoop.fs.Options.Rename.OVERWRITE);
return true;
- } else if (fileStatus.getPath().toString().startsWith("s3n")) {
+ } else if (fileStatus.getPath().toString().startsWith("s3n") ||
fileStatus.getPath()
--- End diff --
move `fileStatus.getPath()` to next line
---