Login  Register

[GitHub] [carbondata] ShreelekhyaG opened a new pull request #4124: [WIP] Fix inverted index query issue and handle exception for desc column

Posted by GitBox on Apr 22, 2021; 3:03pm
URL: http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/GitHub-carbondata-ShreelekhyaG-opened-a-new-pull-request-4124-WIP-Fix-inverted-index-query-issue-andn-tp107810.html


ShreelekhyaG opened a new pull request #4124:
URL: https://github.com/apache/carbondata/pull/4124


    ### Why is this PR needed?
   1. After creating an Inverted index on the dimension column, some of the filter queries give incorrect results.
   2. handle exception for higher level non-existing children column in desc column.
   
    ### What changes were proposed in this PR?
   1. While sorting byte arrays with inverted index, we use `compareTo `method of `ByteArrayColumnWithRowId`.  Here, it was sorting based on the last byte only. Made changes to sort properly based on the entire byte length.
   2. handled exception and added in testcase.
       
    ### Does this PR introduce any user interface change?
    - No
   
    ### Is any new testcase added?
    - 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:
[hidden email]