[ 
https://issues.apache.org/jira/browse/HIVE-2602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13155896#comment-13155896
 ] 

Chinna Rao Lalam commented on HIVE-2602:
----------------------------------------

I am interested to work on this just i am conforming the requirement...

If INSERT OVERWRITE TABLE X PARTITION (a=b, c=d)... earlier it is working like
If partition not exists it will create the partition and add data into it.
If partition exists it will delete the old data and it will add new data.

After change INSERT OVERWRITE TABLE X PARTITION (a=b, c=d) IF NOT EXISTS ...
If partition not exists it will create the partition and add data into it.
If partition exists it wont do any thing (it wont delete old data and wont add 
new data)
and this should happen at the time of query compilation like 
"create table if not exists as select"
                
> add support for insert partition overwrite(...) if not exists
> -------------------------------------------------------------
>
>                 Key: HIVE-2602
>                 URL: https://issues.apache.org/jira/browse/HIVE-2602
>             Project: Hive
>          Issue Type: New Feature
>            Reporter: Namit Jain
>
> INSERT OVERWRITE TABLE X PARTITION (a=b, c=d) IF NOT EXISTS ...
> The partition should be created and written if and only if it's not there 
> already.
> The support can be added for dynamic partitions in the future, but this jira 
> is for adding this support for static partitions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to