Github user paul-rogers commented on a diff in the pull request: https://github.com/apache/drill/pull/1032#discussion_r150684114 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/store/dfs/FileSystemSchemaFactory.java --- @@ -52,9 +55,20 @@ private List<WorkspaceSchemaFactory> factories; private String schemaName; + protected FileSystemPlugin plugin; public FileSystemSchemaFactory(String schemaName, List<WorkspaceSchemaFactory> factories) { super(); + if (factories.size() > 0 ) { + this.plugin = factories.get(0).getPlugin(); + } + this.schemaName = schemaName; + this.factories = factories; + } + + public FileSystemSchemaFactory(FileSystemPlugin plugin, String schemaName, List<WorkspaceSchemaFactory> factories) { + super(); --- End diff -- Omit; Java does this by default.
---