title: How to save text file to orc in spark
body: <p>I am new to spark, I am trying to save my text file to orc using spark-shell is their any way to do that?</p>
  
  <pre><code>vall data =sc.textFile("/yyy/yyy/yyy")
  data.saveAsOrcFile("/yyy/yyy/yyy")
  </code></pre>