Github user geetikagupta16 commented on the issue:
In this PR we are handling the scenario of querying data to standard hive
partitioned table in carbondata.
Earlier we were iterating over all the partitions to get the data but now
as 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.