ashishjayamohan opened a new pull request, #16285: URL: https://github.com/apache/pinot/pull/16285
## Summary Currently, the time predicate filter optimizer only optimizes queries in the form `func(x) = literal`, where `=` could be any comparative operator. This PR allows the time predicate filter optimizer to function on query filters with the form `literal = func(x)` by doing the following prior to running any specific optimizer: 1. Switches the operands of the comparative statement 2. Switches the operand direction (i.e. `LESS_THAN` -> `GREATER_THAN`, `LESS_THAN_OR_EQUALS` -> `GREATER_THAN_OR_EQUAL`) 3. Runs the optimizer on this reversed comparator filter ## Related - Enhances: https://github.com/apache/pinot/pull/14385 -- 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]
