carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ravindra Pesala (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CARBONDATA-1860) Support insertoverwrite for a specific partition.
Date Tue, 05 Dec 2017 16:53:01 GMT
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)

Mime
View raw message