title: How to save spark dataframe to parquet without using INT96 format for timestamp columns?
body: <p>I have a spark dataframe that I want to save as parquet then load it using the parquet-avro library.</p>
  
  <p>There is a timestamp column in my dataframe that is converted to a INT96 timestamp column in parquet. However parquet-avro <a href="https://github.com/apache/parquet-mr/blob/47398be76cfb6634000532e9432430c4676442dd/parquet-avro/src/main/java/org/apache/parquet/avro/AvroSchemaConverter.java#L297" rel="noreferrer">does not support INT96</a> format and throws.</p>
  
  <p>Is there a way to avoid it  ? Is it possible to change the format used by Spark when writing timestamps to parquet in something supported by avro ?</p>
  
  <p>I currently use </p>
  
  <pre class="lang-py prettyprint-override"><code>date_frame.write.parquet("path")
  </code></pre>