[
https://issues.apache.org/jira/browse/HIVE-2602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13165361#comment-13165361
]
Phabricator commented on HIVE-2602:
-----------------------------------
njain has commented on the revision "HIVE-2602 [jira] add support for insert
partition overwrite(...) if not exists".
INLINE COMMENTS
ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java:890 fix the
spelling of existls
ql/src/test/queries/clientpositive/insert1_overwrite_partitions.q:1 add a
explain plan for the insert overtwrite statements.
ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java:892 Instead
of adding a new variable 'skipAnalysis'- add a return value to doPhase1 -
continue or get out remaining processing.
ql/src/test/queries/clientpositive/insert1_overwrite_partitions.q:3 Add a
test for insert overwrite if not exists for dynamic partitions
ql/src/test/queries/clientpositive/insert1_overwrite_partitions.q:6 For a
small output, can you load only 5 rows from kv1.txt
REVISION DETAIL
https://reviews.facebook.net/D579
> 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.D579.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