Skip to content

Commit

Permalink
Update pinot-broker/src/main/java/org/apache/pinot/broker/requesthand…
Browse files Browse the repository at this point in the history
…ler/BaseBrokerRequestHandler.java

Co-authored-by: Xiaotian (Jackie) Jiang <[email protected]>
  • Loading branch information
2 people authored and Tim Santos committed Feb 9, 2022
1 parent 7d7fd84 commit 1dfa1b0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1213,7 +1213,7 @@ private static void rejectGroovyQuery(Expression expression) {
}

if (TransformFunctionFactory.canonicalize(functionCall.getOperator())
.contains(TransformFunctionType.GROOVY.getName())) {
.equals(TransformFunctionType.GROOVY.getName())) {
throw new BadQueryRequestException("Groovy transform functions are disabled for queries");
}

Expand Down

0 comments on commit 1dfa1b0

Please sign in to comment.