-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/2974/
-----------------------------------------------------------

Review request for hive and namit jain.


Summary
-------

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. 
Added a check to validate the partition exist or not.


This addresses bug HIVE-2602.
    https://issues.apache.org/jira/browse/HIVE-2602


Diffs
-----

  trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/Hive.g 1206077 
  trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java 
1206077 
  trunk/ql/src/test/queries/clientpositive/insert1_overwrite_partitions.q 
PRE-CREATION 
  trunk/ql/src/test/results/clientpositive/insert1_overwrite_partitions.q.out 
PRE-CREATION 

Diff: https://reviews.apache.org/r/2974/diff


Testing
-------

all tests passed and added new testcases


Thanks,

chinna

Reply via email to