SociopathicPixel commented on a change in pull request #230: dev/add datatypes to excel columns URL: https://github.com/apache/metamodel/pull/230#discussion_r339305464
########## File path: excel/src/main/java/org/apache/metamodel/excel/DefaultSpreadsheetReaderDelegate.java ########## @@ -169,21 +172,87 @@ private MutableTable createTable(final Workbook wb, final Sheet sheet) { } if (hasColumns) { - createColumns(table, wb, row); + createColumns(table, wb, row, columnTypes); } } return table; } + private ColumnType[] getColumnTypes(final Sheet sheet, final Row row) { + final Iterator<Row> data = ExcelUtils.getRowIterator(sheet, _configuration, false); + final int rowLength = row.getLastCellNum(); + final ColumnType[] columnTypes = new ColumnType[rowLength]; + if (_configuration.isDetectColumnTypes()) { + + int eagerness = _configuration.getEagerness(); Review comment: Done with next commit. ---------------------------------------------------------------- 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