Forum Discussion
Naveen-004
2 years agoFrequent Visitor
Notebook fails to write data to a Delta table
Code: df.write.format("delta").mode("overwrite").option("mergeSchema", "true").save(delta_table_path) Error: Py4JJavaError: An error occurred while calling o29386.save. : org.apache.spark.SparkE...
- 2 years ago
Hi Naveen-004,
Are you able to share all the Code in your Notebook, Spark is a lazily evaluated there could be issues in earlier commands that are only getting executed when you try to write the dataframe.
richbenmintz
2 years agoResident Rockstar
Hi Naveen-004,
Are you able to share all the Code in your Notebook, Spark is a lazily evaluated there could be issues in earlier commands that are only getting executed when you try to write the dataframe.
- Naveen-0042 years agoFrequent Visitor
Thanks for your help in finding the issue.
- v-cboorla-msft2 years agoMicrosoft Employee
Hi Naveen-004
Glad that your query got resolved.
Please continue using Fabric Community for further queries.Thank you.