title: PySpark Outputting '01/01/0001' and '12/31/9999' Incorrectly in Parquet
body: <p>I am using PySpark 3.0.1 to generate parquet files.</p>
  <p>When executing the following command</p>
  <pre><code>sparkDF.write.mode(&quot;overwrite&quot;).parquet(file_name)
  </code></pre>
  <p>The <code>9999-12-31 00:00:00.0000000</code> datetime is written as <code>1816-03-29 11:56:08.066277376</code> in the parquet file.</p>
  <p>The <code>0001-01-01 00:00:00.0000000</code> datetime is written as <code>1754-08-29 04:43:41.128654848</code> in the parquet file.</p>
  <p>In contrast, <code>sparkDF.write.mode(&quot;overwrite&quot;).csv(file_name)</code> outputs the correct datetime value in CSV format.</p>
  <p>Does anybody know what is going on? Thanks.</p>