title: How to set wlm_query_slot_count using Spark-Redshift connector
body: <p>I am using the spark-redshift connector in order to launch a query from Spark. </p>
  
  <pre><code>val results = spark.sqlContext.read
        .format("com.databricks.spark.redshift")
        .option("url", url_connection)
        .option("query", query)
        .option("aws_iam_role", iam_role)
        .option("tempdir", base_path_temp)
        .load()
  </code></pre>
  
  <p>I would like to increase the slot count in order to improve the query, because is disk-based. But I don't know how to do the next query in the connector:</p>
  
  <pre><code>set wlm_query_slot_count to 3;
  </code></pre>
  
  <p>I don't see how to do this , since in the read command in the connector doesn't provide preactions and postactions like in the write command.</p>
  
  <p>Thanks</p>