title: Does Apache Spark SQL support MERGE clause?
body: <p>Does Apache Spark SQL support MERGE clause that's similar to Oracle's MERGE SQL clause?</p>
  
  <pre><code>MERGE into &lt;table&gt; using (
    select * from &lt;table1&gt;
      when matched then update...
         DELETE WHERE...
      when not matched then insert...
  )
  </code></pre>