saurabhd336 commented on PR #12683:
URL: https://github.com/apache/pinot/pull/12683#issuecomment-2015073004

   @Jackie-Jiang updated the PR to let `getMatchingFlattenedDocsMap` accept 
jsonPath string with $ itself (similar to `getMatchingFlattenedDocIds`)
   
   As for the nested exclusive predicates, I think my understanding was 
incorrect. We can't infact support nested exclusive predicates (see 
https://github.com/apache/pinot/blob/master/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/segment/index/readers/json/ImmutableJsonIndexReader.java#L106).
 Turns out, the contract is for the predicates to maintain context, and 
therefore trying to solve nested exclusive predicates by flipping results of 
individual flattened doc id bitmaps would be wrong. Since our usecase does not 
require nested exclusive predicates, I removed that part entirely. Do have a 
look ty!


-- 
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: commits-unsubscr...@pinot.apache.org

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