Witold
Databricks Partner

@Shriyash wrote:

Hi Folks, 
Need help to resolve an error. I'm getting a below error while writing a dataframe into a csv file and exporting that file.

Error:
py4j.protocol.Py4JJavaError: An error occurred while calling o53.save.
: java.lang.UnsatisfiedLinkError: 'boolean 

Code Snippet:

mode_write = "overwrite"
header_write = "true"
path = "F://SampleData_Databricks/Certificate_Output/"
certified_df.write \
.option("mode", mode_write) \
.option("header", header) \
.option("path", path) \
.save()
path = "F://SampleData_Databricks/Certificate_Output/"

You're working in a cloud environment. You can't write to your local storage from there. Try to write to your corresponding cloud storage instead.