I am running hive merge command using Spark HiveContext in 1.6.3 spark version, but it is failing with below error.
2017-09-11 18:30:33 Driver [INFO ] ParseDrive
Spark doesn't support UPDATES or DELETES so exception is an expected behavior.
UPDATES
DELETES