Hubert-Dudek
Databricks MVP

@Srinivas Gannavaram​ ,

Does it have to be CSV with fields separated by ~?

If yes is enough to add .option("sep", "~")

(df
.write
.option("sep", "~")
.csv(mount_path))


My blog: https://databrickster.medium.com/

View solution in original post