Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save YordanGeorgiev/03a03cedfa0804d9f44d37b199fae578 to your computer and use it in GitHub Desktop.
Save YordanGeorgiev/03a03cedfa0804d9f44d37b199fae578 to your computer and use it in GitHub Desktop.
[how-to create parquet file with spark] how-to create parquet file with spark in scala #scala #spark #dataframe #parquet
df.write
.mode("overwrite")
.format("parquet")
.option("path", uri)
.saveAsTable(table)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment