title: Spark, how to print the query?
body: <p>I'm using pyspark </p>
  
  <pre><code>    df = self.sqlContext.read.option(
          "es.resource", indexes
      ).format("org.elasticsearch.spark.sql").load()
  
  
      df = df.filter(
          df.data.timestamp &gt;= self.period_start
      )
  </code></pre>
  
  <p>I'd like to see sql query version of <code>df</code> if possible. </p>
  
  <p>something like <code>print(df.query)</code> to see something like <code>select * from my-indexes where data.timestamp &gt; self.period_start</code></p>