You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2019/11/22 03:09:50 UTC
[GitHub] [incubator-pinot] siddharthteotia opened a new pull request #4847:
Rewrite single predicate IN as EQUALS
siddharthteotia opened a new pull request #4847: Rewrite single predicate IN as EQUALS
URL: https://github.com/apache/incubator-pinot/pull/4847
Query rewrite (during parsing) for single predicate IN as EQUALS.
EQUALS predicate evaluator will directly do native comparison with the dictionary ID or raw value.
IN predicate evaluator will needlessly do a lookup on the HashSet that has the dictionary IDs or the raw values.
Changes and tests are added for all the query paths:
(1) PQL -> BrokerRequest.
(2) Sql -> Calcite -> PinotQuery
(3) PQL -> BrokerRequest -> if PinotQuery enabled -> AstNode::updatePinotQuery()
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org