Skip to content

Commit

Permalink
Fix ExactMatch Filter for Non-Convertible Types
Browse files Browse the repository at this point in the history
  • Loading branch information
nbauernfeind committed Jun 7, 2024
1 parent bf13489 commit 24f6f65
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -497,8 +497,13 @@ Object convertStringLiteral(String str) {
}
};
}
throw new IllegalArgumentException(
"Unknown type " + cls.getName() + " for MatchFilter value auto-conversion");
return new ColumnTypeConvertor() {
@Override
Object convertStringLiteral(String str) {
throw new IllegalArgumentException(
"Can't convert String to " + cls.getName() + " for MatchFilter value auto-conversion");
}
};
}
}

Expand Down

0 comments on commit 24f6f65

Please sign in to comment.