Skip to content

Commit

Permalink
remove duplicate exception
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaochen-zhou committed Apr 12, 2024
1 parent dec336b commit 344f17c
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,6 @@ protected TableSchema transformTableSchema() {
for (int i = 0; i < fields.size(); i++) {
String field = fields.get(i);
int inputFieldIndex = seaTunnelRowType.indexOf(field);
if (inputFieldIndex == -1) {
throw TransformCommonError.cannotFindInputFieldError(getPluginName(), field);
}
inputValueIndex[i] = inputFieldIndex;
outputColumns.add(inputColumns.get(inputFieldIndex).copy());
outputFieldNames.add(inputColumns.get(inputFieldIndex).getName());
Expand Down

0 comments on commit 344f17c

Please sign in to comment.