Resolved! get a "Py4JJavaError: An error occurred while calling o5082.csv." when trying to save to csv file.
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...
- 23320 Views
- 3 replies
- 2 kudos