title: pass list as a argument to spark sql statement
body: <p>I am looking to pass list as a parameter to sparksql statement.</p>
  <pre><code>process_date = '2020-01-01'
  
  df1 = spark.sql(&quot;&quot;&quot;select '{0}', * from table1&quot;&quot;&quot;.format(process_date))
  
  This works for a string. 
  So df1 is created successfully.
  </code></pre>
  <pre><code>But If I have List like this 
  
  list1 = ['a','b','c']
  
  df2 = spark.sql(&quot;&quot;&quot;select '{0}','{1}',* from table1&quot;&quot;&quot;.format(process_date,list1))
  
  This is not working for me.
  
  
  </code></pre>