[ https://issues.apache.org/jira/browse/HIVE-2602?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Phabricator updated HIVE-2602: ------------------------------ Attachment: HIVE-2602.D879.1.patch njain requested code review of "HIVE-2602 [jira] add support for insert partition overwrite(...) if not exists". Reviewers: JIRA HIVE-2602 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. TEST PLAN EMPTY REVISION DETAIL https://reviews.facebook.net/D879 AFFECTED FILES ql/src/test/results/clientpositive/insertover_dynapart_ifnotexists.q.out ql/src/test/results/clientpositive/insert1_overwrite_partitions.q.out ql/src/test/queries/clientpositive/insertover_dynapart_ifnotexists.q ql/src/test/queries/clientpositive/insert1_overwrite_partitions.q ql/src/java/org/apache/hadoop/hive/ql/parse/Hive.g ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java MANAGE HERALD DIFFERENTIAL RULES https://reviews.facebook.net/herald/view/differential/ WHY DID I GET THIS EMAIL? https://reviews.facebook.net/herald/transcript/1863/ Tip: use the X-Herald-Rules header to filter Herald messages in your client. > 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 > Assignee: Chinna Rao Lalam > Attachments: HIVE-2602.1.patch, HIVE-2602.2.patch, > HIVE-2602.D579.1.patch, HIVE-2602.D879.1.patch, HIVE-2602.patch > > > 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