title: Change spark _temporary directory path
body: <p>Is it possible to change the <code>_temporary</code> directory where spark save its temporary files before writing?</p>
  
  <p>In particular, since I am writing single partitions of a table I woud like the temporary folder to be within the partition folder.</p>
  
  <p>Is it possibile?</p>