Ravindra Pesala created CARBONDATA-1860:
-------------------------------------------
Summary: Support insertoverwrite for a specific partition.
Key: CARBONDATA-1860
URL:
https://issues.apache.org/jira/browse/CARBONDATA-1860 Project: CarbonData
Issue Type: Sub-task
Reporter: Ravindra Pesala
User should able to overwrite partition for a specific partition. Like
{code}
INSERT OVERWRITE TABLE partitioned_user
PARTITION (country = 'US')
SELECT * FROM another_user au
WHERE au.country = 'US';
{code}
In the above example, the user can overwrite only the partition(country = 'US') data. So remaining partitions data would be intact.
While overwriting a specific partition carbon should first load data to the new segment and drop that partition from all remaining segments using partition.map file.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)