SociopathicPixel commented on a change in pull request #230: dev/add datatypes 
to excel columns
URL: https://github.com/apache/metamodel/pull/230#discussion_r330580131
 
 

 ##########
 File path: 
excel/src/main/java/org/apache/metamodel/excel/DefaultSpreadsheetReaderDelegate.java
 ##########
 @@ -63,14 +65,13 @@ public DefaultSpreadsheetReaderDelegate(Resource resource, 
ExcelConfiguration co
         _configuration = configuration;
     }
 
-    @Override
     public Schema createSchema(String schemaName) {
         final MutableSchema schema = new MutableSchema(schemaName);
         final Workbook wb = ExcelUtils.readWorkbook(_resource, true);
         try {
             for (int i = 0; i < wb.getNumberOfSheets(); i++) {
                 final Sheet currentSheet = wb.getSheetAt(i);
-                final MutableTable table = createTable(wb, currentSheet);
+                final MutableTable table = createTable(wb, currentSheet, 
_configuration.isValidateColumnTypes());
 
 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

Reply via email to