Hi,
I'm trying to save a dataframe to csv with the code below:
output.coalesce(1).write.mode('overwrite').option('header', 'true').csv(tmp_file_path)
But it get "Py4JJavaError: An error occurred while calling o5082.csv." error.
Any idea how to solve it?
Thanks in advance!