Created
June 1, 2018 07:30
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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