Skip to content

Commit

Permalink
[fix] Fix failed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tsreaper committed Nov 11, 2024
1 parent ddf4218 commit 30e950f
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -674,11 +674,12 @@ protected void assertColumnNotExists(List<DataField> newFields, String fieldName
}

private String getLastFieldName(String fieldName) {
return String.join(
".",
Arrays.asList(updateFieldNames).subList(0, updateFieldNames.length - 1))
+ "."
+ fieldName;
List<String> fieldNames = new ArrayList<>();
for (int i = 0; i + 1 < updateFieldNames.length; i++) {
fieldNames.add(updateFieldNames[i]);
}
fieldNames.add(fieldName);
return String.join(".", fieldNames);
}
}

Expand Down

0 comments on commit 30e950f

Please sign in to comment.