VenuReddy2103 opened a new pull request #4081:
URL: https://github.com/apache/carbondata/pull/4081


    ### Why is this PR needed?
   This PR is to enable Carbon to make use of secndary indexes without plan 
rewrite.
    
    ### What changes were proposed in this PR?
   This approach works only with Index Server. Upon get splits for main table, 
Index Server driver scans the best suitable Secondary Index table based on 
filter expression, append existing filter expression for main table to have 
implicit expression for positionId as right child. Then does distributed prune 
RDD like we do as before this PR.
   
   In fact, we can avoid distributed prune RDD itself after scannig best 
feasible Secondary Index table based on filter. Because Secondary Index table 
gives the exact available blocklets for the given filter. So we can directly 
form the extended blocklets and return. Number of Splits cannot be reduced 
further, even if we call distributed prune RDD. Still working on it.
   
    ### Does this PR introduce any user interface change?
    - No
    - Yes. (please explain the change and update document)
   
    ### Is any new testcase added?
    - No
    - Yes
   
       
   


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


Reply via email to