agozhiy commented on a change in pull request #1780: DRILL-7030: Make format 
plugins fully pluggable
URL: https://github.com/apache/drill/pull/1780#discussion_r280987276
 
 

 ##########
 File path: 
exec/java-exec/src/main/java/org/apache/drill/exec/store/dfs/FileSystemConfig.java
 ##########
 @@ -48,7 +49,7 @@ public FileSystemConfig(@JsonProperty("connection") String 
connection,
     Map<String, WorkspaceConfig> caseInsensitiveWorkspaces = 
CaseInsensitiveMap.newHashMap();
     
Optional.ofNullable(workspaces).ifPresent(caseInsensitiveWorkspaces::putAll);
     this.workspaces = caseInsensitiveWorkspaces;
-    this.formats = formats;
+    this.formats = formats != null? formats : new LinkedHashMap<>();
 
 Review comment:
   Fixed.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to