Skip to content

Commit

Permalink
[Fix] Remove duplicates
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew-Kulich committed Aug 29, 2022
1 parent c9a0949 commit 30bcf23
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,6 @@ public class TabularModule extends AbstractModule {

private Model outputModel;

//:skip-header
private boolean skipHeader;

/**
* Represent a group of tables.
*/
Expand Down Expand Up @@ -159,10 +156,6 @@ ExecutionContext executeSelf() {
header = getHeaderFromSchema(inputModel, header, 1);
}

if(skipHeader){
header = getHeaderFromSchema(inputModel, header, tableSchemaCount);
listReader = new CsvListReader(getReader(), csvPreference);
}

String mainErrorMsg = "CSV table schema is not compliant with provided custom schema.";
if (hasTableSchema && header.length != inputTableSchema.getColumnsSet().size()) {
Expand Down

0 comments on commit 30bcf23

Please sign in to comment.