You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "Venkata Ramana G (JIRA)" <ji...@apache.org> on 2017/12/21 03:39:00 UTC

[jira] [Resolved] (CARBONDATA-1860) Support insertoverwrite for a specific partition.

     [ https://issues.apache.org/jira/browse/CARBONDATA-1860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Venkata Ramana G resolved CARBONDATA-1860.
------------------------------------------
       Resolution: Fixed
         Assignee: Ravindra Pesala
    Fix Version/s: 1.3.0

> 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
>            Assignee: Ravindra Pesala
>             Fix For: 1.3.0
>
>          Time Spent: 4h
>  Remaining Estimate: 0h
>
> 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)