title: How to show the scheme (including type) of a parquet file from command line or spark shell?
body: <p>I have determined how to use the spark-shell to show the field names but it's ugly and does not include the type</p>
  
  <pre><code>val sqlContext = new org.apache.spark.sql.SQLContext(sc)
  
  println(sqlContext.parquetFile(path))
  </code></pre>
  
  <p>prints:</p>
  
  <pre><code>ParquetTableScan [cust_id#114,blar_field#115,blar_field2#116], (ParquetRelation /blar/blar), None
  </code></pre>