ajantha-bhat opened a new pull request #3913:
URL: https://github.com/apache/carbondata/pull/3913


    ### Why is this PR needed?
   a) For 200K segments table in cloud, presto partition query was taking more 
than 5 hours. the reason is it was reading all segment files for partition 
pruning. Now it is less than a minute !
   
    ### What changes were proposed in this PR?
   a)  HiveTableHandle already have partition spec, matching for the filters 
(it has queried metastore to get all partitions and pruned it). So, create 
partitionSpec based on that. Also handled for both prestodb and prestosql  
   b)  #3885 , broke prestodb compilation, only prestosql is compiled. 
   c)  #3887, also didn't handled prestodb
   
       
    ### Does this PR introduce any user interface change?
    - No
   
   
    ### Is any new testcase added?
    - No [Need to add spark support and create better UT for presto, TODO]
   verified manually
   
   
       
   


----------------------------------------------------------------
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:
[email protected]


Reply via email to