Skip to content

Commit

Permalink
Added missing @ScalarFunction annotation.
Browse files Browse the repository at this point in the history
  • Loading branch information
bziobrowski committed Jan 30, 2025
1 parent 274372e commit c543f3e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ public boolean regexpLike(String inputStr, String regexPatternStr) {
return _matcher.reset(inputStr).find();
}

@ScalarFunction
public boolean like(String inputStr, String likePatternStr) {
if (_matcher == null) {
String regexPatternStr = RegexpPatternConverterUtils.likeToRegexpLike(likePatternStr);
Expand Down

0 comments on commit c543f3e

Please sign in to comment.