Skip to content

Commit

Permalink
0004212: Resolve foreign key violation can pick up table from wrong
Browse files Browse the repository at this point in the history
catalog or schema
  • Loading branch information
erilong committed Dec 18, 2019
1 parent ea9929d commit 8429d37
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2402,9 +2402,9 @@ public void reloadMissingForeignKeyRowsReverse(String sourceNodeId, Table table,
String schema = foreignTable.getSchema();
if (StringUtils.equals(platform.getDefaultCatalog(), catalog)) {
catalog = null;
}
if (StringUtils.equals(platform.getDefaultSchema(), schema)) {
schema = null;
if (StringUtils.equals(platform.getDefaultSchema(), schema)) {
schema = null;
}
}

log.info(
Expand Down

0 comments on commit 8429d37

Please sign in to comment.