Search code examples
pythonazureazure-blob-storagedatabricksmount

Writing Data to Azure Blob Storage from Azure Databricks


I was able to mount Azure Blob Container to my Databricks DBFS and was able to read the data as well. While writing, I was able to see the files in the mount point from within databricks, however, it does not reflect in the blob storage. Can someone help?


Solution

  • Are you saving the data frame?

    df.write
    .option("header", "true")
    .format("com.databricks.spark.csv")
    .save("/mnt/result/someData.csv")