manakbisht opened a new pull request, #20148:
URL: https://github.com/apache/pinot/pull/20148

   When an expression override rewrites a nested predicate to a literal (e.g. 
`REGEXP_LIKE(foo, '.*') -> TRUE`), the broker re-runs the query optimizer for 
offline-only and realtime-only tables so that the literal is removed before 
routing, as it already does for hybrid tables. The override is applied after 
the initial optimization, and a leftover `TRUE` operand would reach the broker 
segment pruners, which expect every filter node to be a function call (e.g.
   `TimeSegmentPruner.getFilterTimeIntervals` would throw a 
`NullPointerException`).


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to