cgivre commented on a change in pull request #2396:
URL: https://github.com/apache/drill/pull/2396#discussion_r764507669



##########
File path: 
contrib/format-excel/src/main/java/org/apache/drill/exec/store/excel/ExcelBatchReader.java
##########
@@ -154,7 +154,7 @@ public String getFieldName() {
   private int totalColumnCount;
   private boolean firstLine;
   private FileSplit split;
-  private int recordCount;
+  private int recordCount = 0;

Review comment:
       I don't think this is actually necessary since an undefined `int` will 
be `0`. 




-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to