Buchi Reddy
05/26/2020, 8:37 PMTEXT_MATCH
the only way of doing regex like searches on string columns? Are Lucene indexes a must for such functionality? cc @UserSidd
05/26/2020, 8:39 PMSidd
05/26/2020, 8:39 PMSidd
05/26/2020, 8:40 PMBuchi Reddy
05/26/2020, 9:54 PMregexp_like
isn't removed with TEXT_MATCH
right? I guess it's PQL only construct and may not be supported in SQLSidd
05/26/2020, 9:55 PMBuchi Reddy
05/26/2020, 9:56 PMTim Mwangi
05/26/2020, 11:09 PMregexp_like
work with SQL query format?Sidd
05/26/2020, 11:28 PMSidd
05/26/2020, 11:36 PMTim Mwangi
05/26/2020, 11:43 PMREGEXP_LIKE
does work with SQL format. regexp_like
does not. I guess I wan’t paying attention to the error messageTim Mwangi
05/26/2020, 11:45 PMorg.apache.pinot.client.PinotClientException: Query had processing exceptions:
[{"errorCode":150,"message":"PQLParsingError:\njava.lang.IllegalArgumentException: No enum constant org.apache.pinot.pql.parsers.pql2.ast.FilterKind.regexp_like\n\tat java.lang.Enum.valueOf(Enum.java:238)\n\tat org.apache.pinot.pql.parsers.pql2.ast.FilterKind.valueOf(FilterKind.java:21)\n\tat org.apache.pinot.pql.parsers.PinotQuery2BrokerRequestConverter.traverseFilterExpression(PinotQuery2BrokerRequestConverter.java:310)\n\tat org.apache.pinot.pql.parsers.PinotQuery2BrokerRequestConverter.traverseFilterExpression(PinotQuery2BrokerRequestConverter.java:318)\n\tat org.apache.pinot.pql.parsers.PinotQuery2BrokerRequestConverter.traverseFilterExpression(PinotQuery2BrokerRequestConverter.java:318)\n\tat org.apache.pinot.pql.parsers.PinotQuery2BrokerRequestConverter.traverseFilterExpression(PinotQuery2BrokerRequestConverter.java:318)\n\tat org.apache.pinot.pql.parsers.PinotQuery2BrokerRequestConverter.convertFilter(PinotQuery2BrokerRequestConverter.java:180)\n\tat org.apache.pinot.pql.parsers.PinotQuery2BrokerRequestConverter.convert(PinotQuery2BrokerRequestConverter.java:61)\n\tat org.apache.pinot.sql.parsers.CalciteSqlCompiler.compileToBrokerRequest(CalciteSqlCompiler.java:34)\n\tat org.apache.pinot.broker.requesthandler.BaseBrokerRequestHandler.handleRequest(BaseBrokerRequestHandler.java:170)\n\tat org.apache.pinot.broker.api.resources.PinotClientRequest.processSqlQueryPost(PinotClientRequest.java:155)\n\tat sun.reflect.GeneratedMethodAccessor191.invoke(Unknown Source)\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.lang.reflect.Method.invoke(Method.java:498)"}]
Sidd
05/27/2020, 1:40 AMSidd
05/27/2020, 1:43 AMKishore G
Kishore G
Sidd
05/27/2020, 1:52 AMSidd
05/27/2020, 1:53 AMKishore G
Sidd
05/27/2020, 1:57 AMSidd
05/27/2020, 1:57 AMFilterKind filterKind = FilterKind.valueOf(operator);
Sidd
05/27/2020, 1:57 AMSidd
05/27/2020, 1:58 AM