anubhav tarar commented on CARBONDATA-2282:


In this PR we are handling the scenario of querying data to standard hive 
partitioned table in carbondata.

although you are getting the correct data from partition table but in current 
master branch we were iterating over all the partitions to get the data not the 
one which is required,which will be slow you can check value of property 
mapreduce.input.carboninputformat.partitions.to.prune in carboninputformat 
class after executing query on a particular partition it is null so when 
getPartitionsToPrune method is called it is returning null value instead of 
required partition specs 


but now in this pr we have identified the required partitions, so the query 
will be performed only on the required partition.
Firstly we are identifying the partition columns through domain constraints in 
presto and after that we are adding the Partition Spec to the configuration 
object to query partition

> presto carbon not support query partition table
> -----------------------------------------------
>                 Key: CARBONDATA-2282
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-2282
>             Project: CarbonData
>          Issue Type: Bug
>          Components: core, presto-integration
>    Affects Versions: 1.3.0
>            Reporter: zhangwei
>            Assignee: anubhav tarar
>            Priority: Major
>             Fix For: 1.3.0
>         Attachments: partitonToPrune.patch

This message was sent by Atlassian JIRA

Reply via email to