Github user jacques-n commented on a diff in the pull request:

    https://github.com/apache/drill/pull/376#discussion_r52854886
  
    --- Diff: 
exec/java-exec/src/main/java/org/apache/drill/exec/planner/FileSystemPartitionDescriptor.java
 ---
    @@ -157,7 +159,20 @@ private String getBaseTableLocation() {
     
       @Override
       protected void createPartitionSublists() {
    -    List<String> fileLocations = ((FormatSelection) 
table.getSelection()).getAsFiles();
    +    Collection<String> fileLocations = null;
    +    if (scanRel instanceof DrillScanRel) {
    --- End diff --
    
    This seems like it is leaking specific implementations. Can we come up with 
a way to move this around. Possibly GroupScan should have hasFiles() and 
getFiles()?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to