Github user arina-ielchiieva commented on a diff in the pull request:

    https://github.com/apache/drill/pull/1083#discussion_r160712431
  
    --- Diff: 
exec/java-exec/src/main/java/org/apache/drill/exec/store/dfs/FileSelection.java 
---
    @@ -424,6 +429,23 @@ public MetadataContext getMetaContext() {
         return metaContext;
       }
     
    +  /**
    +   * @return true if this file selectionRoot points to an empty directory, 
false otherwise
    +   */
    +  public boolean isEmptyDirectory() {
    +    return emptyDirectory;
    +  }
    +
    +  /**
    +   * Setting this as true allows to identify this as empty directory file 
selection
    +   *
    +   * @param emptyDirectory empty directory flag
    +   */
    +  public void setEmptyDirectory(boolean emptyDirectory) {
    --- End diff --
    
    Please use set empty directory without flag.


---

Reply via email to