Login  Register

[GitHub] [carbondata] ShreelekhyaG opened a new pull request #4112: [CARBONDATA-4149] Fix query issues after alter add empty partition location

Posted by GitBox on Mar 23, 2021; 9:31am
URL: http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/GitHub-carbondata-ShreelekhyaG-opened-a-new-pull-request-4112-CARBONDATA-4149-Fix-query-issues-aftern-tp107188.html


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


    ### Why is this PR needed?
   Query with SI after add partition based on empty location on partition table gives incorrect results.
   
    ### What changes were proposed in this PR?
   while creating blockid, get segment number from the file name for the external partition. This blockid will be added to SI and used for pruning. To identify as an external partition during the compaction process, instead of checking with loadmetapath, checking with filepath.startswith(tablepath) format.
       
    ### 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]