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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Akash R Nilugal (Jira)

     [ 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)