title: Reading parquet stored in dbfs with pyspark on databricks don't work
body: <p>i am trying to read a parquet file that is stored on dbfs, with pyspark. But i get the following error:</p>
  <blockquote>
  <p>org.apache.spark.SparkException: java.io.Serializable is not annotated
  with SQLUserDefinedType nor registered with UDTRegistration.}</p>
  </blockquote>
  <p>The parquet file is extracted from a zip file an stored on dbfs. This is done by the following function:</p>
  <pre><code>def loading_zip(file_name, dest_file):
      temp_folder_write = f&quot;/dbfs/mnt/.../{dest_file}&quot;
      temp_folder_read = f&quot;dbfs:/mnt/.../{dest_file}&quot;
      with ZipFile(file_name, &quot;r&quot;) as zipObj:
          zipObj.extractall(dest_file)
      df = spark.read.parquet(temp_folder_read)
      return df
  </code></pre>