Jackie-Jiang commented on a change in pull request #4216: PQL -> SQL enhancement - phase 1 - new Pinot Query Struct URL: https://github.com/apache/incubator-pinot/pull/4216#discussion_r291000710
########## File path: pinot-common/src/main/java/org/apache/pinot/pql/parsers/pql2/ast/RegexpLikePredicateAstNode.java ########## @@ -74,6 +77,19 @@ public FilterQueryTree buildFilterQueryTree() { return new FilterQueryTree(_identifier, value, filterOperator, null); } + @Override + public Expression buildFilterExpression() { + if (_identifier == null) { + throw new Pql2CompilationException("REGEXP_LIKE predicate has no identifier"); + } + final Expression expression = RequestUtils.getFunctionExpression(FilterKind.REGEXP_LIKE.name()); Review comment: (nit) remove final as we don't usually use it inside method ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org