Jackie-Jiang opened a new pull request #6957:
URL: https://github.com/apache/incubator-pinot/pull/6957


   ## Description
   Solve #6910 
   
   Add `TimePredicateFilterOptimizer` to optimize 
TIME_CONVERT/DATE_TIME_CONVERT function with range/equality predicate to 
directly apply the predicate to the inner expression.
   E.g. `dateTimeConvert(col, '1:MILLISECONDS:EPOCH', '1:MILLISECONDS:EPOCH', 
'30:MINUTES') >= 1620830760000` can be optimized to `col >= 1620831600000`
   
   After optimizing the time convert function to directly work on the time 
column, the pruner and all the indexes can be applied.


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



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to