sapienza88 commented on code in PR #982:
URL: https://github.com/apache/fesod/pull/982#discussion_r3705909488


##########
fesod-sheet/src/main/java/org/apache/fesod/sheet/analysis/csv/CsvExcelReadExecutor.java:
##########
@@ -223,11 +223,16 @@ private void dealRecord(CSVRecord record, int rowIndex) {
                 
csvReadContext.csvReadWorkbookHolder().globalConfiguration().getAutoTrim();
         Boolean autoStrip =
                 
csvReadContext.csvReadWorkbookHolder().globalConfiguration().getAutoStrip();
+        List<Integer> includeColumnIndexes = 
csvReadContext.readSheetHolder().getColumnIndexes();
         while (cellIterator.hasNext()) {
             String cellString = cellIterator.next();
+            int currentColumnIndex = columnIndex++;
+            if (includeColumnIndexes != null && 
!includeColumnIndexes.contains(currentColumnIndex)) {
+                continue;
+            }

Review Comment:
   not sure I understand here, inconsistent how ?



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to