arina-ielchiieva commented on a change in pull request #2024: DRILL-7641
Convert Excel Reader to use Streaming Reader
URL: https://github.com/apache/drill/pull/2024#discussion_r399236555
##########
File path:
contrib/format-excel/src/main/java/org/apache/drill/exec/store/excel/ExcelBatchReader.java
##########
@@ -289,83 +298,78 @@ public boolean next() {
}
private boolean nextLine(RowSetLoader rowWriter) {
- if( sheet.getFirstRowNum() == 0 && sheet.getLastRowNum() == 0) {
+ if(sheet.getLastRowNum() == 0) {
Review comment:
```suggestion
if (sheet.getLastRowNum() == 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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services