title: Converting CSV to ORC with Spark
body: <p>I've seen <a href="http://hortonworks.com/blog/bringing-orc-support-into-apache-spark/" rel="nofollow noreferrer">this blog post</a> by Hortonworks for support for ORC in Spark 1.2 through datasources.</p>
  
  <p>It covers version 1.2 and it addresses the issue or creation of the ORC file from the objects, not conversion from csv to ORC.
  I have also seen <a href="https://stackoverflow.com/questions/25117760/how-to-convert-txt-csv-file-to-orc-format">ways</a>, as intended, to do these conversions in Hive.  </p>
  
  <p>Could someone please provide a simple example for how to load plain csv file from Spark 1.6+, save it as ORC and then load it as a data frame in Spark.</p>