Github user amansinha100 commented on a diff in the pull request:
https://github.com/apache/drill/pull/468#discussion_r58921685
--- Diff:
exec/java-exec/src/main/java/org/apache/drill/exec/planner/FileSystemPartitionDescriptor.java
---
@@ -148,13 +139,41 @@ public String getName(int index) {
return partitionLabel + index;
}
- private String getBaseTableLocation() {
+ protected String getBaseTableLocation() {
final FormatSelection origSelection = (FormatSelection)
table.getSelection();
return origSelection.getSelection().selectionRoot;
}
@Override
protected void createPartitionSublists() {
+ final Collection<String> fileLocations = getFileLocations();
+ List<PartitionLocation> locations = new LinkedList<>();
+
+ final String selectionRoot = getBaseTableLocation();
+
+ HashMap<List<String>, List<PartitionLocation>> dirToFileMap = new
HashMap<>();
--- End diff --
Can you add a comment here with an example <key, value> pair ?
---
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.
---