title: Spark: what options can be passed with DataFrame.saveAsTable or DataFrameWriter.options?
body: <p>Neither the developer nor the API documentation includes any reference about what options can be passed in <code>DataFrame.saveAsTable</code> or <code>DataFrameWriter.options</code> and they would affect the saving of a Hive table. </p>
  
  <p>My hope is that in the answers to this question we can aggregate information that would be helpful to Spark developers who want more control over how Spark saves tables and, perhaps, provide a foundation for improving Spark's documentation.</p>