Login  Register

[GitHub] [carbondata] ShreelekhyaG opened a new pull request #4084: [CARBONDATA-4113] Partition prune and cache fix when carbon.read.partition.hive.direct is disabled.

Posted by GitBox on Jan 28, 2021; 10:54am
URL: http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/GitHub-carbondata-ShreelekhyaG-opened-a-new-pull-request-4084-CARBONDATA-4113-Partition-prune-and-ca-tp105751.html


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


    ### Why is this PR needed?
    When `carbon.read.partition.hive.direct` is `false` then select queries on partition table result is invalid .
   For a single partition, partition values are appended to form the wrong path when loaded by the same segment.
   Ex: For partition on column `b`, path: `/tablepath/b=1/b=2`
   
    ### What changes were proposed in this PR?
   In `PartitionCacheManager`,  changes made to handle single and multiple partitions. Encoded the URI path to handle space values in the string.
       
    ### 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]