Skip to content

Commit

Permalink
Fix transformation model to script
Browse files Browse the repository at this point in the history
  • Loading branch information
suarezgpablo committed Nov 22, 2024
1 parent 3410be5 commit 9cee635
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ public SchemaEvolution readSchemaEvolutionModel(String pathSchemaEvolutionModel)
}
Element element = (Element) node;
String nameElement = element.getNodeName();
if (nameElement.equalsIgnoreCase("Add")) { // Add column
if (nameElement.equalsIgnoreCase("NewColumn")) { // Add column
log.info ("New Add Columns schema modification");
se.getChanges().addAll(new AddColumn().changesSchemaModel(list, element));
} else if (nameElement.equalsIgnoreCase("AddTable")) {
} else if (nameElement.equalsIgnoreCase("NewTable")) {
log.info ("New Add Table schema modification");
se.getChanges().addAll(new AddTable().changesSchemaModel(list, element));
} else if (nameElement.equalsIgnoreCase("SplitColumn")) {
Expand Down

0 comments on commit 9cee635

Please sign in to comment.