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

    https://github.com/apache/carbondata/pull/2128#discussion_r180156407
  
    --- Diff: 
core/src/main/java/org/apache/carbondata/core/datastore/filesystem/LocalCarbonFile.java
 ---
    @@ -156,6 +158,25 @@ public boolean delete() {
     
       }
     
    +  @Override
    +  public CarbonFile[] listFiles(Boolean recurssive) {
    +    if (!file.isDirectory()) {
    +      return new CarbonFile[0];
    +    }
    +    String[] filter = null;
    +    Collection<File> fileCollection = FileUtils.listFiles(file, null, 
true);
    +    File[] files = fileCollection.toArray(new File[fileCollection.size()]);
    +    if (files == null) {
    +      return new CarbonFile[0];
    +    }
    +    CarbonFile[] carbonFiles = new CarbonFile[files.length];
    --- End diff --
    
    done


---

Reply via email to