Skip to content

Commit

Permalink
0006507: Fixed values getting matched with the wrong columns during e…
Browse files Browse the repository at this point in the history
…xtraction when using the targetExternalId variable and table definitions differ
  • Loading branch information
evan-miller-jumpmind committed Jun 20, 2024
1 parent 8063557 commit 1d735ad
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -190,13 +190,12 @@ protected Table lookupTableExpanded(IDatabasePlatform platform, String catalogNa
if (table == null) {
table = lookupTable(platform, catalogName, schemaName, tableName, triggerHistory, addMissingColumns);
sourceTableMap.put(baseTableName, table);
} else {
table = table.copyAndFilterColumns(triggerHistory.getParsedColumnNames(),
triggerHistory.getParsedPkColumnNames(), true, addMissingColumns);
}
if (table != null) {
try {
table = (Table) table.clone();
table.setName(tableName);
} catch (CloneNotSupportedException e) {
}
table.setName(tableName);
}
}
return table;
Expand Down

0 comments on commit 1d735ad

Please sign in to comment.