vvysotskyi commented on a change in pull request #1506: DRILL-6793: 
FragmentExecutor cannot send its final state for the case…
URL: https://github.com/apache/drill/pull/1506#discussion_r225852711
 
 

 ##########
 File path: 
contrib/format-maprdb/src/main/java/org/apache/drill/exec/store/mapr/db/json/MaprDBJsonRecordReader.java
 ##########
 @@ -530,8 +530,10 @@ public void close() {
 
   @Override
   public String toString() {
-    StringBuilder sb = new StringBuilder("MaprDBJsonRecordReader[Table=")
-        .append(table.getPath());
+    StringBuilder sb = new StringBuilder("MaprDBJsonRecordReader[Table=");
+    if (table != null) {
+      sb.append(table.getPath());
+    }
     if (reader != null) {
       sb.append(", Document ID=")
 
 Review comment:
   Also, please move `, `string here and below to the previous appenders.

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


With regards,
Apache Git Services

Reply via email to