title: pyspark add data to a TempTable
body: <p>I have created a temporary table from a DataFrame</p>
  
  <pre><code>df1 = sqlContext.createDataFrame([(146,000000)],['id','size'])
  df1.registerTempTable("table_test")
  </code></pre>
  
  <p>Now I want to add a new dataframe to the existing tempTable.</p>
  
  <pre><code>df2 = sqlContext.createDataFrame([(147,000001)],['id','size'])
  </code></pre>
  
  <p>I tried to do the following</p>
  
  <pre><code>df2.write.mode("append").saveAsTable("table_test")
  </code></pre>
  
  <p>But then realized that one can do that only for persistent tables.</p>
  
  <p>Is it possible to add new data to an existing tempTable. If so, how?</p>