Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2020 03:41 PM
Hi,
You can use insertinto instead of save. It will overwrite the target file no need to cache or persist your dataframe
Df.write.format("parquet").mode("overwrite").insertInto("/file_path")
~Saravanan