Skip to content

Commit

Permalink
update table identified to table path
Browse files Browse the repository at this point in the history
  • Loading branch information
Cheun99 committed Jan 7, 2025
1 parent adb656e commit 428e2f6
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ public static TablePath of(String fullName, boolean schemaFirst) {
if (paths.length == 3) {
return of(paths[0], paths[1], paths[2]);
}
if (paths.length > 3) {
return of(null, fullName);
}
throw new IllegalArgumentException(
String.format("Cannot get split '%s' to get databaseName and tableName", fullName));
}
Expand Down

0 comments on commit 428e2f6

Please sign in to comment.