title: SparkSQL - Read parquet file directly
body: <p>I am migrating from Impala to SparkSQL, using the following code to read a table:</p>
  
  <pre><code>my_data = sqlContext.read.parquet('hdfs://my_hdfs_path/my_db.db/my_table')
  </code></pre>
  
  <p>How do I invoke SparkSQL above, so it can return something like:</p>
  
  <pre><code>'select col_A, col_B from my_table'
  </code></pre>